Skip to contentSkip to conversation

New: Panic when accessing scsi-tapedrives with 4G-remap

Bugme-new Andrew Morton 4 participants 6 messages Aug 26, 2005 – Aug 28, 2005 SCSI

lore
Share & tools
lore
#1 lore raw
Quoted 4 lines · Andrew Morton

Subject: [Bugme-new] [Bug 5117] New: Panic when accessing scsi-tapedrives with 4G-remap

Quoted 8 lines

http://bugzilla.kernel.org/show_bug.cgi?id=5117

Summary: Panic when accessing scsi-tapedrives with 4G-remap
Kernel Version: 2.6.12.5

Could this purely be a highmem problem? Is the zero-copy DMA feature of
st.c known to work OK with x86 highmem?

I don't know about Kai, but I don't have the hardware to test that...

Sorry, Willem Riede.

#2 lore raw
In reply to Andrew Morton
Quoted 10 lines · Andrew Morton

Begin forwarded message:

Date: Tue, 23 Aug 2005 12:53:38 -0700
From: [email protected]
To: [email protected]
Subject: [Bugme-new] [Bug 5117] New: Panic when accessing scsi-tapedrives with 4G-remap

Quoted 8 lines

http://bugzilla.kernel.org/show_bug.cgi?id=5117

Summary: Panic when accessing scsi-tapedrives with 4G-remap
Kernel Version: 2.6.12.5

Could this purely be a highmem problem? Is the zero-copy DMA feature of
st.c known to work OK with x86 highmem?

It is _not_ known _not_ to work ;-) I.e., I have received neither any success nor any failure reports. I have not tested it because I don't have any machine with enough memory (and I have not hacked a kernel to use highmem with 512 MB of memory). I hope someone seeing this thread and using highmem with tape can comment on this subject.

Signature · 1 line
Kai
#3 lore raw
Quoted 18 lines · Kai Makisara
Quoted 16 lines · Andrew Morton

Begin forwarded message:

Date: Tue, 23 Aug 2005 12:53:38 -0700
From: [email protected]
To: [email protected]
Subject: [Bugme-new] [Bug 5117] New: Panic when accessing scsi-tapedrives with 4G-remap

http://bugzilla.kernel.org/show_bug.cgi?id=5117

Summary: Panic when accessing scsi-tapedrives with 4G-remap
Kernel Version: 2.6.12.5

Quoted 9 lines
Quoted 2 lines

Could this purely be a highmem problem? Is the zero-copy DMA feature of
st.c known to work OK with x86 highmem?

It is _not_ known _not_ to work ;-) I.e., I have received neither any success nor any failure reports. I have not tested it because I don't have any machine with enough memory (and I have not hacked a kernel to use highmem with 512 MB of memory). I hope someone seeing this thread and using highmem with tape can comment on this subject.

OK. I booted my test i386 machine with highmem=384m and did some tests. I also added a counter to st.c to count the highmem pages used for zero-copy DMA. I could not get dd to use highmem but with tar that succeeded. No extra messages were found in syslog during these tests.

BUT, at the same time I remembered that the system in the Bugzilla report was Athlon64 running FC3 x86_64. The x86_64 kernel does not have highmem.

Signature · 1 line
Kai
#4 lore raw
Quoted 14 lines · Kai Makisara
Quoted 5 lines · Kai Makisara
Quoted 2 lines · Andrew Morton

Could this purely be a highmem problem? Is the zero-copy DMA feature of st.c known to work OK with x86 highmem?

Quoted 7 lines

It is _not_ known _not_ to work ;-) I.e., I have received neither any success nor any failure reports. I have not tested it because I don't have

any machine with enough memory (and I have not hacked a kernel to use highmem with 512 MB of memory). I hope someone seeing this thread and using highmem with tape can comment on this subject.

Quoted 7 lines

OK. I booted my test i386 machine with highmem=384m and did some tests. I also added a counter to st.c to count the highmem pages used for zero-copy DMA. I could not get dd to use highmem but with tar that succeeded. No extra messages were found in syslog during these tests.

BUT, at the same time I remembered that the system in the Bugzilla report was Athlon64 running FC3 x86_64. The x86_64 kernel does not have highmem.

True. I do have a machine running FC4 x86_64, but it doesn't have 4G of memory, so it doesn't do the 4G-remap that the bug report refers to.

Don't know if there is any way to make it do so (other than buy more memory).

Regards, Willem Riede.

#5 lore raw
Quoted 6 lines
Quoted 6 lines

OK. I booted my test i386 machine with highmem=384m and did some tests. I also added a counter to st.c to count the highmem pages used for zero-copy DMA. I could not get dd to use highmem but with tar that succeeded. No extra messages were found in syslog during these tests.

Quoted 7 lines
Quoted 2 lines

BUT, at the same time I remembered that the system in the Bugzilla report was Athlon64 running FC3 x86_64. The x86_64 kernel does not have highmem.

True. I do have a machine running FC4 x86_64, but it doesn't have 4G of memory, so it doesn't do the 4G-remap that the bug report refers to.

Don't know if there is any way to make it do so (other than buy more memory).

note that some (tyan) amd64 motherboards have a really broken bios wrt remap, and the only way to get those systems stable is to disable the memory remap in that bios. If you don't all kinds of funky stuff can and does happen.