Skip to contentSkip to conversation

ide-scsi: "Sleeping function called from invalid context", 2.6.0-test9

DISCUSSION Vid Strpic 4 participants 7 messages Nov 12, 2003

lore
Share & tools
lore

Vid Strpic

author
#0 lore raw
Quoted 6 lines · Berke Durak

I get a kernel problem while using cdrecord to write audio to a blank CD-R.
This happens with 2.6.0-test6 and 2.6.0-test9 with kernel preemptibility enabled.
The distribution is a Debian 3.0r1/testing.
Kernel output, cdrecord output and dmesg follows.

[...]

Oh wonderful. It has happenned to me, too, test9, Slackware 9.1, cdrecord 2.0a19 (same as yours). I think there's a problem with DMA - it wasnt' enabled when this happened. When I enabled it, CD's burned normally. And this happened only when I built SCSI support (sg, sr_mod) as modules.. when in core, DMA is enabled automatically and _stays_ enabled...

Signature · 4 lines
           [email protected], IRC:*@Martin, /bin/zsh. C|N>K
Linux moria 2.6.0-test9 #1 Sat Oct 25 23:00:37 CEST 2003 i686
 08:58:05 up 6 days, 18:15,  1 user,  load average: 0.24, 0.30, 0.22
I am Chevy Chase of Borg, and you're not.
#1 lore raw

Yep, I have that problem too.

Quoted 16 lines · Vid Strpic
Quoted 6 lines · Berke Durak

I get a kernel problem while using cdrecord to write audio to a blank CD-R.
This happens with 2.6.0-test6 and 2.6.0-test9 with kernel preemptibility enabled.
The distribution is a Debian 3.0r1/testing.
Kernel output, cdrecord output and dmesg follows.

[...]

Oh wonderful. It has happenned to me, too, test9, Slackware 9.1, cdrecord 2.0a19 (same as yours). I think there's a problem with DMA - it wasnt' enabled when this happened. When I enabled it, CD's burned normally. And this happened only when I built SCSI support (sg, sr_mod) as modules.. when in core, DMA is enabled automatically and _stays_ enabled...

Signature · 9 lines
|===================================================================|
                        Okrain Genady
|===================================================================|
 E-Mail         : [email protected]
 ICQ            : 73163402
 Home Page      : http://www.mafteah.co.il/
 GnuGP          : 0x4F892EE6 At http://pgp.mit.edu/
 Fingerprint    : 5853 E821 5EF2 69BC A9AE 3F24 1F7C F79F 408D 4AEE
|===================================================================|
#2 lore raw

On Wed, Nov 12 2003, Okrain Genady wrote:
Content-Description: signed data

Quoted 1 line

Yep, I have that problem too.

does burning without ide-scsi not work?

Signature · 1 line
Jens Axboe
#3 lore raw

I didn't test w/o scsi-emu.
I have scsi-emu compiled in the kernel

btw:
when I use readcd my computer dies.

Quoted 6 lines · Jens Axboe

On Wed, Nov 12 2003, Okrain Genady wrote:
Content-Description: signed data

Quoted 1 line

Yep, I have that problem too.

does burning without ide-scsi not work?

Signature · 9 lines
|===================================================================|
                        Okrain Genady
|===================================================================|
 E-Mail         : [email protected]
 ICQ            : 73163402
 Home Page      : http://www.mafteah.co.il/
 GnuGP          : 0x4F892EE6 At http://pgp.mit.edu/
 Fingerprint    : 5853 E821 5EF2 69BC A9AE 3F24 1F7C F79F 408D 4AEE
|===================================================================|
#4 lore raw

On Wed, Nov 12 2003, Okrain Genady wrote:
Content-Description: signed data

Quoted 2 lines

I didn't test w/o scsi-emu.
I have scsi-emu compiled in the kernel

Well compile a kernel without it then, and just use ide-cd. I wont repeat for the Xth time why this is so, see any 2.6 'whats new' document or search lkml for reasons.

Signature · 1 line
Jens Axboe
#5 lore raw

Ok I will try without the scsi soon.

Quoted 9 lines · you

On Wed, Nov 12 2003, Okrain Genady wrote:
Content-Description: signed data

Quoted 2 lines

I didn't test w/o scsi-emu.
I have scsi-emu compiled in the kernel

Well compile a kernel without it then, and just use ide-cd. I wont repeat for the Xth time why this is so, see any 2.6 'whats new' document or search lkml for reasons.

Signature · 9 lines
|===================================================================|
                        Okrain Genady
|===================================================================|
 E-Mail         : [email protected]
 ICQ            : 73163402
 Home Page      : http://www.mafteah.co.il/
 GnuGP          : 0x4F892EE6 At http://pgp.mit.edu/
 Fingerprint    : 5853 E821 5EF2 69BC A9AE 3F24 1F7C F79F 408D 4AEE
|===================================================================|
#6 lore raw

Re: ide-scsi: 'Sleeping function called from invalid context', 2.6.0-test9

In reply to Vid Strpic
Quoted 6 lines

Oh wonderful. It has happenned to me, too, test9, Slackware 9.1, cdrecord 2.0a19 (same as yours). I think there's a problem with DMA - it wasnt' enabled when this happened. When I enabled it, CD's burned normally. And this happened only when I built SCSI support (sg, sr_mod) as modules.. when in core, DMA is enabled automatically and _stays_ enabled...

Mine is in core. And it's using DMA according to /proc/ide/hdc/settings. --
Berke Durak