* MO-Drive under 2.4.7 usinf vfat
@ 2001-07-21 13:26 Detlev Offenbach
2001-07-21 16:17 ` Steven Walter
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Detlev Offenbach @ 2001-07-21 13:26 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 767 bytes --]
Hi all,
I have just tested the new 2.4.7 kernel to see, whether it now works with a
MO-Drive using the vfat filesystem. Unfortunately it still doesn't. Mounting
a disk and writing to it is ok. However, when I try to read a file off the
disk, the program crashes with a Segmentation fault and I get a oops in the
messages file (see attachment). I tried ksymoops on this file, but either I
did something wrong or it couldn't analyse it.
I hope, this issue will be fixed soon cause I would like to switch over to
the 2.4 kernel series without scratching my set of MO-disks.
Regards
Detlev
Btw, please answer by email as well because I think I got removed from the
mailing list somehow (or is it that quiet?).
--
Detlev Offenbach
detlev@offenbach.fs.uunet.de
[-- Attachment #2: oops.txt --]
[-- Type: text/plain, Size: 1290 bytes --]
Jul 21 14:38:21 majestix kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
Jul 21 14:38:21 majestix kernel: printing eip:
Jul 21 14:38:21 majestix kernel: 00000000
Jul 21 14:38:21 majestix kernel: *pde = 00000000
Jul 21 14:38:21 majestix kernel: Oops: 0000
Jul 21 14:38:21 majestix kernel: CPU: 0
Jul 21 14:38:21 majestix kernel: EIP: 0010:[<00000000>]
Jul 21 14:38:21 majestix kernel: EFLAGS: 00010282
Jul 21 14:38:21 majestix kernel: eax: 00000000 ebx: d729dcc0 ecx: 00004000 edx: d729dce0
Jul 21 14:38:21 majestix kernel: esi: 40017000 edi: 00000000 ebp: 00004000 esp: d727ff80
Jul 21 14:38:21 majestix kernel: ds: 0018 es: 0018 ss: 0018
Jul 21 14:38:21 majestix kernel: Process more (pid: 1191, stackpage=d727f000)
Jul 21 14:38:21 majestix kernel: Stack: e2bad8fd d729dcc0 40017000 00004000 d729dce0 d729dcc0 ffffffea c012e156
Jul 21 14:38:21 majestix kernel: d729dcc0 40017000 00004000 d729dce0 d727e000 08050b68 08050b68 bffff49c
Jul 21 14:38:21 majestix kernel: c0106c2b 00000003 40017000 00004000 08050b68 08050b68 bffff49c 00000003
Jul 21 14:38:21 majestix kernel: Call Trace: [sys_read+150/208] [system_call+51/56]
Jul 21 14:38:21 majestix kernel:
Jul 21 14:38:21 majestix kernel: Code: Bad EIP value.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: MO-Drive under 2.4.7 usinf vfat
2001-07-21 13:26 MO-Drive under 2.4.7 usinf vfat Detlev Offenbach
@ 2001-07-21 16:17 ` Steven Walter
2001-07-21 16:30 ` kgdb and/or kdb for RH7.1 Michael S. Miles
2001-07-22 14:07 ` MO-Drive under 2.4.7 usinf vfat OGAWA Hirofumi
2001-07-23 13:38 ` Pavel Machek
2 siblings, 1 reply; 10+ messages in thread
From: Steven Walter @ 2001-07-21 16:17 UTC (permalink / raw)
To: Detlev Offenbach; +Cc: linux-kernel
On Sat, Jul 21, 2001 at 03:26:58PM +0200, Detlev Offenbach wrote:
> Hi all,
>
> I have just tested the new 2.4.7 kernel to see, whether it now works with a
> MO-Drive using the vfat filesystem. Unfortunately it still doesn't. Mounting
> a disk and writing to it is ok. However, when I try to read a file off the
> disk, the program crashes with a Segmentation fault and I get a oops in the
> messages file (see attachment). I tried ksymoops on this file, but either I
> did something wrong or it couldn't analyse it.
>
> I hope, this issue will be fixed soon cause I would like to switch over to
> the 2.4 kernel series without scratching my set of MO-disks.
You might try the -ac series. I recall 2048 byte blocks being
implemented in its version of vfat (which is likely the problem you're
hitting). Perhaps that particular patch hasn't made it to Linus' tree,
yet.
--
-Steven
In a time of universal deceit, telling the truth is a revolutionary act.
-- George Orwell
^ permalink raw reply [flat|nested] 10+ messages in thread
* kgdb and/or kdb for RH7.1
2001-07-21 16:17 ` Steven Walter
@ 2001-07-21 16:30 ` Michael S. Miles
2001-07-21 19:16 ` Tigran Aivazian
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Michael S. Miles @ 2001-07-21 16:30 UTC (permalink / raw)
To: linux-kernel
Does anyone know if patches exist against the stock RedHat 7.1
kernel(2.4.2-2) to support remote kernel debugging(kgdb). I would also be
interested in the same for kdb, but I'm primarily interested in kgdb.
If it doesn't exist I guess I will have to try to port the patches over
myself, I just didn't want to reinvent the wheel.
hopefully TIA,
michael
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: kgdb and/or kdb for RH7.1
2001-07-21 16:30 ` kgdb and/or kdb for RH7.1 Michael S. Miles
@ 2001-07-21 19:16 ` Tigran Aivazian
2001-07-23 8:44 ` Amit S. Kale
2001-07-21 19:58 ` arjan
2001-07-22 1:58 ` Keith Owens
2 siblings, 1 reply; 10+ messages in thread
From: Tigran Aivazian @ 2001-07-21 19:16 UTC (permalink / raw)
To: Michael S. Miles; +Cc: linux-kernel
just in case you are wondering where to download kgdb from, there is one
maintained at sourceforge by Amit Kale
http://kgdb.sourceforge.net/
On Sat, 21 Jul 2001, Michael S. Miles wrote:
> Does anyone know if patches exist against the stock RedHat 7.1
> kernel(2.4.2-2) to support remote kernel debugging(kgdb). I would also be
> interested in the same for kdb, but I'm primarily interested in kgdb.
>
> If it doesn't exist I guess I will have to try to port the patches over
> myself, I just didn't want to reinvent the wheel.
>
> hopefully TIA,
> michael
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: kgdb and/or kdb for RH7.1
2001-07-21 16:30 ` kgdb and/or kdb for RH7.1 Michael S. Miles
2001-07-21 19:16 ` Tigran Aivazian
@ 2001-07-21 19:58 ` arjan
2001-07-22 1:58 ` Keith Owens
2 siblings, 0 replies; 10+ messages in thread
From: arjan @ 2001-07-21 19:58 UTC (permalink / raw)
To: Michael S. Miles; +Cc: linux-kernel
In article <KIEKJCGPOOADIOGPDJJLOEPGEFAA.mmiles@alacritech.com> you wrote:
> Does anyone know if patches exist against the stock RedHat 7.1
> kernel(2.4.2-2) to support remote kernel debugging(kgdb). I would also be
> interested in the same for kdb, but I'm primarily interested in kgdb.
> If it doesn't exist I guess I will have to try to port the patches over
> myself, I just didn't want to reinvent the wheel.
Look in the src.rpm for the kernel, there's a ikd patch there...
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: kgdb and/or kdb for RH7.1
2001-07-21 16:30 ` kgdb and/or kdb for RH7.1 Michael S. Miles
2001-07-21 19:16 ` Tigran Aivazian
2001-07-21 19:58 ` arjan
@ 2001-07-22 1:58 ` Keith Owens
2001-07-22 3:09 ` Keith Owens
2 siblings, 1 reply; 10+ messages in thread
From: Keith Owens @ 2001-07-22 1:58 UTC (permalink / raw)
To: Michael S. Miles; +Cc: linux-kernel
On Sat, 21 Jul 2001 12:30:34 -0400,
"Michael S. Miles" <mmiles@alacritech.com> wrote:
>Does anyone know if patches exist against the stock RedHat 7.1
>kernel(2.4.2-2) to support remote kernel debugging(kgdb). I would also be
>interested in the same for kdb, but I'm primarily interested in kgdb.
ftp://oss.sgi.com/projects/xfs/download/Release-1.0/patches/linux-2.4.2-kdb-04112001.patch.gz
is kdb v1.8 against Redhat 7.1. There are no XFS dependencies in that
patch, but kdb and xfs hit a couple of common files so you might need
to resolve some patch failures.
It is a lot easier to start from that patch instead of trying to
convert a kdb patch from a standard kernel onto Redhat's kernel. RH
took patches from the -ac tree as well which really messed up kdb, it
took me several hours to work out whta RH had done to each file, and I
had all the kdb patches. AFAICR, the IKD patch in RH 7.1 does not fit
correctly.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: kgdb and/or kdb for RH7.1
2001-07-22 1:58 ` Keith Owens
@ 2001-07-22 3:09 ` Keith Owens
0 siblings, 0 replies; 10+ messages in thread
From: Keith Owens @ 2001-07-22 3:09 UTC (permalink / raw)
To: Michael S. Miles, linux-kernel
On Sun, 22 Jul 2001 11:58:15 +1000,
Keith Owens <kaos@ocs.com.au> wrote:
>On Sat, 21 Jul 2001 12:30:34 -0400,
>"Michael S. Miles" <mmiles@alacritech.com> wrote:
>>Does anyone know if patches exist against the stock RedHat 7.1
>>kernel(2.4.2-2) to support remote kernel debugging(kgdb). I would also be
>>interested in the same for kdb, but I'm primarily interested in kgdb.
>
>ftp://oss.sgi.com/projects/xfs/download/Release-1.0/patches/linux-2.4.2-kdb-04112001.patch.gz
>is kdb v1.8 against Redhat 7.1.
Correction, that patch is against a standard 2.4.2 kernel. The closest
I could find is
ftp://oss.sgi.com/projects/xfs/download/testing/Release-1.0.1-PR3/patches/patch-RH2.4.3-xfs-1.0.1-kdb
That is against Rawhide rather than RH 7.1 but it should be fairly
close. So many patches, so little time :(.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: MO-Drive under 2.4.7 usinf vfat
2001-07-21 13:26 MO-Drive under 2.4.7 usinf vfat Detlev Offenbach
2001-07-21 16:17 ` Steven Walter
@ 2001-07-22 14:07 ` OGAWA Hirofumi
2001-07-23 13:38 ` Pavel Machek
2 siblings, 0 replies; 10+ messages in thread
From: OGAWA Hirofumi @ 2001-07-22 14:07 UTC (permalink / raw)
To: Detlev Offenbach; +Cc: linux-kernel
Hi,
Detlev Offenbach <detlev@offenbach.fs.uunet.de> writes:
> Hi all,
>
> I have just tested the new 2.4.7 kernel to see, whether it now works with a
> MO-Drive using the vfat filesystem. Unfortunately it still doesn't. Mounting
> a disk and writing to it is ok. However, when I try to read a file off the
> disk, the program crashes with a Segmentation fault and I get a oops in the
> messages file (see attachment). I tried ksymoops on this file, but either I
> did something wrong or it couldn't analyse it.
Is the capacity of your MO disk more than 640M?
In order to clarify a problem, please send the debugging output of FAT.
---------------------- start example --------------------------------
$ mount -t vfat /dev/sda /mnt -o debug
$ dmesg | tail
Type: Optical Device ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 5, lun 0
sym53c875-0-<5,*>: asynchronous.
SCSI device sda: 310352 2048-byte hdwr sectors (636 MB)
sda: Write Protect is off
sda:
MSDOS: Hardware sector size is 2048
[MS-DOS FS Rel. 12,FAT 16,check=n,conv=b,uid=0,gid=0,umask=022]
[me=0xf8,cs=8,#f=2,fs=1,fl=38,ds=77,de=512,data=85,se=0,ts=310352,ls=2048,rc=0,fc=4294967295]
Transaction block size = 2048
---------------------- end example --------------------------------
Perhaps, your MO disk will have the `ls' of a value smaller than 2048.
Logical sector size smaller than device sector size cannot be handled
with FAT of 2.4 series.
Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: kgdb and/or kdb for RH7.1
2001-07-21 19:16 ` Tigran Aivazian
@ 2001-07-23 8:44 ` Amit S. Kale
0 siblings, 0 replies; 10+ messages in thread
From: Amit S. Kale @ 2001-07-23 8:44 UTC (permalink / raw)
To: Tigran Aivazian; +Cc: Michael S. Miles, linux-kernel
Hi,
I am not maintaining a kgdb patch for RH7.1 as yet. This is an extact
from the newly uploaded FAQ page on kgdb website.
Why only one kernel version is supported?
I enhance kgdb and add documentation to kgdb webpage frequently. This
process is easy with a single kernel version as I can work on
enhancing and supporting newer kernel versions at the same time. I
myself need kgdb for kernel debugging on newer kernels for the
translation filesystem. Supporting older kernels involves backporting
enhancements and testing them. Usually a kgdb patch works for
multiple kernel versions with a bit of application of failed hunks by
hand. I plan to support a fixed 2.4 kernel version and a top of the line
2.5
kernel, once 2.5 kernel branch starts.
Tigran Aivazian wrote:
>
> just in case you are wondering where to download kgdb from, there is one
> maintained at sourceforge by Amit Kale
>
> http://kgdb.sourceforge.net/
>
> On Sat, 21 Jul 2001, Michael S. Miles wrote:
>
> > Does anyone know if patches exist against the stock RedHat 7.1
> > kernel(2.4.2-2) to support remote kernel debugging(kgdb). I would also be
> > interested in the same for kdb, but I'm primarily interested in kgdb.
> >
> > If it doesn't exist I guess I will have to try to port the patches over
> > myself, I just didn't want to reinvent the wheel.
> >
> > hopefully TIA,
> > michael
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> >
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Amit Kale
Veritas Software ( http://www.veritas.com )
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: MO-Drive under 2.4.7 usinf vfat
2001-07-21 13:26 MO-Drive under 2.4.7 usinf vfat Detlev Offenbach
2001-07-21 16:17 ` Steven Walter
2001-07-22 14:07 ` MO-Drive under 2.4.7 usinf vfat OGAWA Hirofumi
@ 2001-07-23 13:38 ` Pavel Machek
2 siblings, 0 replies; 10+ messages in thread
From: Pavel Machek @ 2001-07-23 13:38 UTC (permalink / raw)
To: Detlev Offenbach; +Cc: linux-kernel
Hi!
> I have just tested the new 2.4.7 kernel to see, whether it now works with a
> MO-Drive using the vfat filesystem. Unfortunately it still doesn't. Mounting
> a disk and writing to it is ok. However, when I try to read a file off the
> disk, the program crashes with a Segmentation fault and I get a oops in the
> messages file (see attachment). I tried ksymoops on this file, but either I
> did something wrong or it couldn't analyse it.
>
> I hope, this issue will be fixed soon cause I would like to switch over to
> the 2.4 kernel series without scratching my set of MO-disks.
Try -o loop
--
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2001-07-27 15:34 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-21 13:26 MO-Drive under 2.4.7 usinf vfat Detlev Offenbach
2001-07-21 16:17 ` Steven Walter
2001-07-21 16:30 ` kgdb and/or kdb for RH7.1 Michael S. Miles
2001-07-21 19:16 ` Tigran Aivazian
2001-07-23 8:44 ` Amit S. Kale
2001-07-21 19:58 ` arjan
2001-07-22 1:58 ` Keith Owens
2001-07-22 3:09 ` Keith Owens
2001-07-22 14:07 ` MO-Drive under 2.4.7 usinf vfat OGAWA Hirofumi
2001-07-23 13:38 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox