Kernel Panic: too few segs for DMA mapping increase AHC_NSEG
Always me.
Just tried with a fresh 2.4.15 kernel: same behaviour.
I get a little different message when the hi mem enabled kernel bombs:
Kernel Panic: too few segs for DMA mapping increase AHC_NSEG Kernel Panic: too few segs for DMA mapping increase AHC_NSEG Kernel Panic: too few segs for DMA mapping increase AHC_NSEG In interrupt handler - not syncing
And the system freeze completely.
PS: I tried to mount an ISO (with joilet ext) cdrom and copy some file (the tarball kernel) and the system was fine (iso/joylet filesystem driver was built in the kernel). It seems to panic only with vfat filesystem. I remember you that I build vfat driver as a kernel module, then I load it with 'modprobe vfat'.
----- Original Message -----
From: "Marco Berizzi" <[email protected]>
To: "Jens Axboe" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, November 21, 2001 8:46 AM
Subject: Re: Kernel Panic: too few segs for DMA mapping increase AHC_NSEG
Quoted 63 lines
...not good news.
Same behaviour: without hi mem support all right. With hi mem support (4GB) I get this error on console, after a kernel dump:SCSI1:0:0:0 attempt to queue an abort message
SCSI1:0:0:0 command not foundaic7xxx_abortreturns0x2002Then the system freeze completely, so I press the reset button. At the startup INIT calls fsck and when the checking is at about 55% it displays this message:
SCSI1:A:0:0 locking max tag count at 128
then the following startup procedure goes well.
I want to tell you that with this kernel (hi mem support enabled), all is working perfectly (I can compile a new working kernel, for example). X Window (4.1) plus kde is working well.
Only when I mount a vfat filesystem type and then I try to copy a file to the root partition I get this error.
Another point: I usually build only mass storage driver in the kernel (Adaptec AHA 39160 bios rev 3.10). I build as modules all other HW (nic, sound, USB), however only the SB PCI512 is loaded in this situation. I haven't any IDE device just one SCSI HD (IBM DDYS-T18350N firmware rev S93E) and one Plextor SCSI cdrom (UltraPlex 40max PX-40TS firmware revision 1.04).----- Original Message -----
From: "Jens Axboe" <[email protected]>
To: "Marco Berizzi" <[email protected]>
Cc: <[email protected]>
Sent: Monday, November 19, 2001 10:44 AM
Subject: Re: Kernel Panic: too few segs for DMA mapping increaseAHC_NSEGQuoted 8 lines · Marco Berizzi
Quoted 7 lines
Hi everybody.
I have just upgraded my PC from 768MB RAM to 1GB.
I have recompiled the kernel (2.4.14) for hi mem support (4GB).Now it's appening a very strange behaviour.
I have several file system on the same disk (vfat file system). Ihave
Quoted 1 line
Quoted 1 line
compiled vfat driver as a module. So before try to mount I must
issue a
Quoted 3 lines
Quoted 3 lines
'modprobe vfat'. I'm using Slackware 8.0. modutils version is 2.4.6
Then if I try to copy a file from that filesystem to the root
filesystem
Quoted 11 lines
Quoted 3 lines
I get this error:
Kernel panic: too few segs for DMA mappings increase AHC_NSEGAha! Finally someone that can provoke this easily. Could you please apply attached patch and reproduce? Thanks.
--
Jens Axboe