Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 22796

Summary: Packet CD writing with the gaming-sources kernel freezes the whole system...
Product: Gentoo Linux Reporter: Todor Zviskov <todorz>
Component: [OLD] Core systemAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://warder.ath.cx:81/bugs/packet-err
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Updated gaming-sources ebuild

Description Todor Zviskov 2003-06-13 21:28:07 UTC
There are either conflicting patches or one of the patches for the
gaming-sources kernel is broken/incomplete/incompatible. The result is "kernel
BUG at ll_rw_blk.c:1041!" when trying to write to an UDF formatted CD. When only
the packet patch is applied to a vanilla kernel, packet writing works fine on
the same system (the packet patch is included in the gaming-sources kernels).
The problem exists at least since gaming-sources-r2 and it's still not fixed in r5.

http://warder.ath.cx:81/bugs/packet-err  <- broken (gaming-sources-r5)
http://warder.ath.cx:81/bugs/packet      <- working (vanilla using the same .config)

Reproducible: Always
Steps to Reproduce:
1. emerge gaming-sources
2. make menuconfig (<M> Packet writing on CD/DVD media [Block devices]; <M> UDF
file system support (read only) & [*]   UDF write support (DANGEROUS) [File systems]
3. reboot in the new kernel and put CD-RW in the burner (modprobe pktcdvd;
emerge udftools; pktsetup /dev/pktcdvd /dev/cdrom; cdrwtool -d /dev/cdrom -q;
mount -t udf -o rw,noatime /mnt/cdrom; cp /etc/gentoo-release /mnt/cdrom; umount
/mnt/cdrom)

Actual Results:  
kernel crash -> http://warder.ath.cx:81/bugs/packet-err
---------------------
elevator returned crap (-456204824)
kernel BUG at ll_rw_blk.c:1041!
invalid operand: 0000
....
---------------------

Expected Results:  
http://warder.ath.cx:81/bugs/packet
Comment 1 Todor Zviskov 2003-06-13 21:43:49 UTC
P.S. I think the packet patch comes from the ck ( http://members.optusnet.com.au/ckolivas/kernel/) patches which are applied to the gaming-sources as well. ck7 is available and bugfixes to ckvm, supermount and the elevator fixes are claimed which may solve the problem.
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-01-20 09:36:16 UTC
Created attachment 24136 [details]
Updated gaming-sources ebuild

Hi there,

Would you mind trying this ebuild out and seeing whether this fixes your packet
writing problem? This uses ck6 which should have an updated patch for
packet-writing.
Comment 3 Todor Zviskov 2004-01-20 20:13:46 UTC
Well, that was a long time ago... I'm using 2.6 since test1 without packet writing problems. 2.4 is kinda obsolete (my opinion) and don't feel like wasting time on it :P If anyone else wishes to test it....
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-01-21 07:54:05 UTC
I see - thanks for keeping us informed. I've updated gaming-sources-2.4.20 with that ebuild if anyone still gets this, so I'm closing this as TEST-REQUEST.