2002-10-30 14:13:10

by merlin hughes

[permalink] [raw]
Subject: kernel BUG at drivers/scsi/scsi_lib.c:819 with 2.5.44-ac5

00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Controller (rev 11)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] AGP Bridge
00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ISA (rev 05)
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-768 [Opus] IDE (rev 04)
00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ACPI (rev 03)
00:09.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02)
00:10.0 PCI bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] PCI (rev 05)
01:05.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti4400] (rev a2)
02:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-768 [Opus] USB (rev 07)
02:04.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
02:04.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
02:05.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 05)
02:05.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 05)
02:06.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)
02:07.0 SCSI storage controller: Adaptec AHA-2940U2/U2W
02:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)


2002-10-30 14:28:47

by Jens Axboe

[permalink] [raw]
Subject: Re: kernel BUG at drivers/scsi/scsi_lib.c:819 with 2.5.44-ac5

On Wed, Oct 30 2002, merlin hughes wrote:
> Hi,
>
> Tyan Tiger S2466-4M, 2xAthlon MP, Adaptec 29160, Adaptec 2940u2w,
> software RAID 5, gcc 2.95.4. The core drives are on the 29160. Works
> fine under 2.4.19.
>
> 2.5.44 panics during boot with SCSI problems; I didn't catch what the
> error was.
>
> 2.5.44-ac5 boots but bugs after a few seconds.
>
> Attached: config, syslog, lspci (under 2.4.19)
>
> Oct 28 12:36:09 badb kernel: Incorrect number of segments after building list
> Oct 28 12:36:09 badb kernel: counted 2, received 1
> Oct 28 12:36:09 badb kernel: req nr_sec 8, cur_nr_sec 8

Please try 2.5.44-BK and see if that works, James fixed this one.

--
Jens Axboe

2002-10-30 15:37:40

by merlin hughes

[permalink] [raw]
Subject: Re: kernel BUG at drivers/scsi/scsi_lib.c:819 with 2.5.44-ac5

r/[email protected]/2002.10.30/15:35:02
>On Wed, Oct 30 2002, merlin hughes wrote:
>> Hi,
>>
>> Tyan Tiger S2466-4M, 2xAthlon MP, Adaptec 29160, Adaptec 2940u2w,
>> software RAID 5, gcc 2.95.4. The core drives are on the 29160. Works
>> fine under 2.4.19.
>>
>> 2.5.44 panics during boot with SCSI problems; I didn't catch what the
>> error was.
>>
>> 2.5.44-ac5 boots but bugs after a few seconds.
>>
>> Attached: config, syslog, lspci (under 2.4.19)
>>
>> Oct 28 12:36:09 badb kernel: Incorrect number of segments after building lis
>t
>> Oct 28 12:36:09 badb kernel: counted 2, received 1
>> Oct 28 12:36:09 badb kernel: req nr_sec 8, cur_nr_sec 8
>
>Please try 2.5.44-BK and see if that works, James fixed this one.

If that's equivalent to 2.5.44 +
http://www.kernel.org/pub/linux/kernel/people/dwmw2/bk-2.5/cset-1.808-to-1.869.txt.gz
then I get the same error (incorrect number of segments...). It happened
earlier in the boot process so I couldn't catch the details; it looked
like it oopsed along with everything else.

Thanks, Merlin

2002-10-30 18:09:07

by Patrick Mansfield

[permalink] [raw]
Subject: Re: kernel BUG at drivers/scsi/scsi_lib.c:819 with 2.5.44-ac5

On Wed, Oct 30, 2002 at 10:43:59AM -0500, merlin wrote:
> r/[email protected]/2002.10.30/15:35:02
> >On Wed, Oct 30 2002, merlin hughes wrote:

> >> Oct 28 12:36:09 badb kernel: Incorrect number of segments after building lis
> >t
> >> Oct 28 12:36:09 badb kernel: counted 2, received 1
> >> Oct 28 12:36:09 badb kernel: req nr_sec 8, cur_nr_sec 8
> >
> >Please try 2.5.44-BK and see if that works, James fixed this one.
>
> If that's equivalent to 2.5.44 +
> http://www.kernel.org/pub/linux/kernel/people/dwmw2/bk-2.5/cset-1.808-to-1.869.txt.gz
> then I get the same error (incorrect number of segments...). It happened
> earlier in the boot process so I couldn't catch the details; it looked
> like it oopsed along with everything else.
>
> Thanks, Merlin

Merlin -

This looks the same as the problem Badari and I have hit with the qla running
with mm patches, check Badari's latest message on linux-scsi:

http://marc.theaimsgroup.com/?l=linux-scsi&m=103599960611881&w=2

We are getting:

Incorrect number of segments after building list
counted 3, received 2
req nr_sec 256, cur_nr_sec 8

-- Patrick Mansfield