Bug#298043: kernel oops on removing USB CDROM

2005-03-04 Thread robinud
Package: kernel
Severity: important

*** Please type your report below this line ***

If I boot sarge when an external USB CD-ROM attached, I get a kernel
oops during module loading (I guess it is discover).


The message printed is (I did not write down everything, the PC is locked,
so no copypaste) :

[c01042b1] kernel_thread_helper+0x5/0x14
Code: 89 48 04 89 01 c7 43 04 00 02 20 00 8d 9a 84 fe ff ff 8b 82
6note: scsi_eh_0[1939] exited with preempt_count 1
Badness in kobject_get at lib/kobject.c:433
[c01b46fd]kobject_get+0x4d/0x50
[c02077a8]get_device+0x18/0x30
.
.
.
[c01042b1] kernel_thread_helper+0x5/0x14


Same happens if I attach the drive after boot and then remove it.

Kernel : kernel-image-2.6.8-2-k7-smp  2.6.8-13

The device is an LG GSA-4163B fw:A102 ATAPI DVD burner in an external
USB2/FW enclosure (Prolific chipset).

lsubs data :
Bus 004 Device 003: ID 2116:0320
 iManufacturer   1 Prolific Technology Inc.
 iProduct2 ATAPI-6 Bridge Controller
 iSerial 3 10003C04


I also freshly installed sarge snapshot 20050225 ( for some reason
it choose another kernel : the 2.6.8-2-686-smp 2.6.8-13 version )

Now if I connect the mentioned external CD-ROM over FireWire and then remove it,
I get this in dmesg (but no lock):

Unable to handle kernel NULL pointer dereference at virtual address 
 printing eip:
f0a093d7
*pde = 
Oops:  [#1]
PREEMPT SMP
Modules linked in: ext2 nls_cp437 isofs radeon ipv6 8139cp snd_via82xx 
snd_ac97_codec gameport
snd_mpu401_uart snd_rawmidi snd_seq_device snd_bt87x snd_pcm_oss snd_mixer_oss 
snd_pcm snd_timer
snd snd_page_alloc tuner tvaudio msp3400 bttv video_buf i2c_algo_bit 
v4l2_common btcx_risc i2c_core
videodev soundcore pci_hotplug via_agp agpgart parport_pc parport floppy 
eth1394 pcspkr tsdev
mousedev rtc joydev evdev usbhid ehci_hcd uhci_hcd usbcore 8139too mii ohci1394 
via_ircc irda
crc_ccitt capability commoncap sr_mod sbp2 scsi_mod ieee1394 ide_cd cdrom ext3 
jbd mbcache
ide_generic via82cxxx ide_disk pdc202xx_new ide_core unix font vesafb 
cfbcopyarea cfbimgblt
cfbfillrect
CPU:0
EIP:0060:[f0a093d7]Not tainted
EFLAGS: 00010003   (2.6.8-2-686-smp)
EIP is at sbp2util_find_command_for_SCpnt+0x57/0xb0 [sbp2]
eax:    ebx:    ecx: 0082   edx: ef96fb6c
esi: ee766000   edi: ef96fae0   ebp: ef186ca0   esp: ee767f10
ds: 007b   es: 007b   ss: 0068
Process scsi_eh_0 (pid: 1675, threadinfo=ee766000 task=eeb16790)
Stack: ef186ca0 ef96fae0 ef186ca0 ee766000 f0a0bac1 ef96fae0 ef186ca0 ee766000
   0206 f09c4de9 ef186ca0 ef186ca0 ee767fa0 ee767fa0 ee766000 f09c4f77
   ef186ca0 ee767f70 c011c637 efb24e3c 0282 ee766000 ee767fa0 f09c6075
Call Trace:
 [f0a0bac1] sbp2scsi_abort+0x41/0xb0 [sbp2]
 [f09c4de9] scsi_try_to_abort_cmd+0x69/0xa0 [scsi_mod]
 [f09c4f77] scsi_eh_abort_cmds+0x57/0xf0 [scsi_mod]
 [c011c637] __wake_up_locked+0x27/0x30
 [f09c6075] scsi_unjam_host+0xc5/0x220 [scsi_mod]
 [c011c500] default_wake_function+0x0/0x20
 [f09c6308] scsi_error_handler+0x138/0x200 [scsi_mod]
 [f09c61d0] scsi_error_handler+0x0/0x200 [scsi_mod]
 [c01042c5] kernel_thread_helper+0x5/0x10
Code: 8b 03 0f 18 00 90 39 d3 75 ef b0 01 86 87 88 00 00 00 51 9d
 6note: scsi_eh_0[1675] exited with preempt_count 2




-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)



Varno. Enostavno. Vredno. Internet dodatne storitve.
http://www.voljatel.si/storitve/




Re: Bug#297522: USB mass storage device not usable after hotplug update

2005-03-04 Thread Marco d'Itri
reassign 297522 kernel-image-2.4.27-i386
thanks

On Mar 04, \Florian Ladstädter\ [EMAIL PROTECTED] wrote:

 hub.c: new USB device 00:1d.7-3, assigned address 5
 WARNING: USB Mass Storage data integrity not assured
 USB Mass Storage device found at 5
 usb-storage: host_reset() requested but not implemented
 scsi: device set offline - command error recover failed: host 1 channel 0 id
 0 lun 0
 SCSI disk error : host 1 channel 0 id 0 lun 0 return code = e02
 Current sd08:07: sense key None
  I/O error: dev 08:07, sector 2
 EXT3-fs: unable to read superblock

Yes. I cannot be more specific, but I doubt that this is related to your
hotplug upgrade.
(You are highly encouraged to switch to a 2.6 kernel anyway.)

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Processed: Re: Bug#297522: USB mass storage device not usable after hotplug update

2005-03-04 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 297522 kernel-image-2.4.27-i386
Bug#297522: USB mass storage device not usable after hotplug update
Bug reassigned from package `hotplug' to `kernel-image-2.4.27-i386'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#298082: kernel-image-2.6.10-9-amd64-k8: alsa reports problems with ioctl32 unknown command

2005-03-04 Thread David Meggy
Package: kernel-image-2.6.10-9-amd64-k8
Version: 2.6.10-2
Severity: normal


I upgraded my computer last week from a Athlon to a Athlon64.
Everything worked fine without any updates.  My first update was to a 64
bit kernel, and I left the 32 bit userland, which I'll upgrade later.
This left me with broken sound, but everything else works.

By broken sound, totem does not work at all reporting ALSA device
\default\ had an error.  While gxine plays but with horrible sound
quality.

My chipset is ALi M1689

This is the result of alsaconf
snip
Running update-modules...
Architecture-specific modutils configuration not found, using defaults
Loading driver...
ACPI: PCI interrupt :00:04.0[A] - GSI 18 (level, low) - IRQ 18
AC'97 1 does not respond - RESET
AC'97 1 access is not valid [0x], removing mixer.
Unable to initialize codec #1
intel8x0_measure_ac97_clock: measured 49158 usecs
intel8x0: clocking to 48000
Setting default volumes...
ioctl32(amixer:9102): Unknown cmd fd(3) cmd(80045500){00} arg(d8fc)
on /dev/snd/controlC0
ioctl32(amixer:9103): Unknown cmd fd(3) cmd(80045500){00} arg(d90c)
on /dev/snd/controlC0
/snip
This continues for a while, but I thought that is probably enough of an
error message


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.10-9-amd64-k8
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)

Versions of packages kernel-image-2.6.10-9-amd64-k8 depends on:
ii  coreutils [fileutils] 5.2.1-2The GNU core utilities
ii  initrd-tools  0.1.77 tools to create initrd image for p
ii  module-init-tools 3.2-pre1-2 tools for managing Linux kernel mo

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: another issue

2005-03-04 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 286758 kernel-image-2.6.8-powerpc
Bug#286758: Boot process hangs after openpic: exit
Warning: Unknown package 'kernel-image-2.6.9-powerpc'
Bug reassigned from package `kernel-image-2.6.9-powerpc' to 
`kernel-image-2.6.8-powerpc'.

 severity 286758 important
Bug#286758: Boot process hangs after openpic: exit
Severity set to `important'.

 retitle 286758 X flickers all the time
Bug#286758: Boot process hangs after openpic: exit
Changed Bug title.

 --
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#298099: kernel: please allow building AGP_INTEL on x86_64

2005-03-04 Thread Aaron M. Ucko
Package: kernel
Severity: normal
Tags: patch upstream

The kernel's build system insists that users of x86_64 hardware use
AGP_INTEL_MCH rather than AGP_INTEL.  However, the MCH driver supports
a far more limited range of hardware, and in particular fails to
support my system's i915G chipset.  (I have one of the new P4s with
support for EM64T.)

Perhaps it would be better to add support for this chipset to the MCH
driver, but the regular driver seems to work fine -- X runs without
problems, certainly.

I have attached a (trivial) patch to drop the bogus restriction, along
with a patch for some 64-bit cleanliness issues in i810_dma.c that it
uncovers (though the latter's probably gratuitous given that the
original i810 allmost certainly doesn't support any 64-bit processors
anyway).

--- kernel-source-2.6.11/drivers/char/agp/Kconfig~  2005-03-02 
02:38:10.0 -0500
+++ kernel-source-2.6.11/drivers/char/agp/Kconfig   2005-03-03 
14:03:51.0 -0500
@@ -78,7 +78,7 @@
 
 config AGP_INTEL
tristate Intel 440LX/BX/GX, I8xx and E7x05 chipset support
-   depends on AGP  X86  !X86_64
+   depends on AGP  X86
help
  This option gives you AGP support for the GLX component of XFree86 4.x
  on Intel 440LX/BX/GX, 815, 820, 830, 840, 845, 850, 860, 875,
--- kernel-source-2.6.11/drivers/char/drm/i810_dma.c~   2005-03-02 
02:37:55.0 -0500
+++ kernel-source-2.6.11/drivers/char/drm/i810_dma.c2005-03-04 
11:27:58.0 -0500
@@ -847,7 +847,7 @@
*(u32 *)buf_priv-kernel_virtual = ((GFX_OP_PRIMITIVE | prim | 
((used/4)-2)));
 
if (used  4) {
-   *(u32 *)((u32)buf_priv-kernel_virtual + used) = 0;
+   *(u32 *)((unsigned long)buf_priv-kernel_virtual + 
used) = 0;
used += 4;
}
 
@@ -1207,7 +1207,7 @@
 
if (buf_priv-currently_mapped == I810_BUF_MAPPED) {
if (used  4) {
-   *(u32 *)((u32)buf_priv-virtual + used) = 0;
+   *(u32 *)((unsigned long)buf_priv-virtual + used) = 0;
used += 4;
}
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Shouldn't kernel-image-2.6.x-y-z depend on alsa-base ?

2005-03-04 Thread Josselin Mouette
Le vendredi 04 mars 2005 à 15:29 +0100, Thomas Viehmann a écrit :
 Josselin Mouette wrote:
  2.6 kernel, alsa-base doesn't end up being installed. The result is that
  for most sound cards, both OSS and ALSA modules end up installed,
  resulting in various and random problems. To avoid that, shouldn't the
  kernel-image packages for 2.6 depend on alsa-base?
 Please not. There's people running kernels without needing sound or 
 alsa-base. I wouldn't mind recommends/suggests, but depends is a litte 
 bit strong IMO.

As long as the linux26 installation ends up with both sound modules
loaded, that's a bug that needs to be fixed, though. Another option
would be to put the alsa modules in separate packages, just like pcmcia
modules.
-- 
 .''`.   Josselin Mouette/\./\
: :' :   [EMAIL PROTECTED]
`. `'[EMAIL PROTECTED]
  `-  Debian GNU/Linux -- The power of freedom


signature.asc
Description: Ceci est une partie de message	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Bug#298136: kernel-image-2.4.27-2-smp: aieee with isp1020

2005-03-04 Thread Adrian Zaugg
Package: kernel-image-2.4.27-2-smp
Version: 2.4.27-7
Severity: normal


Under heavy disk load the kernel aieees (killing interrupt handler)  and the 
machine stops. Feeding the stacktrace to ksymoops, it produces 
the following output:

ksymoops 2.4.9 on alpha 2.4.27-2-smp.  Options used
 -V (default)
 -k /proc/ksyms (default)
 -l /proc/modules (default)
 -o /lib/modules/2.4.27-2-smp/ (default)
 -m /boot/System.map-2.4.27-2-smp (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Warning (expand_objects): object 
/lib/modules/2.4.27-2-smp/kernel/drivers/scsi/sd_mod.o for module sd_mod has 
changed since load
Warning (expand_objects): object 
/lib/modules/2.4.27-2-smp/kernel/net/unix/unix.o for module unix has changed 
since load
Warning (expand_objects): object 
/lib/modules/2.4.27-2-smp/kernel/fs/ext3/ext3.o for module ext3 has changed 
since load
Warning (expand_objects): object /lib/modules/2.4.27-2-smp/kernel/fs/jbd/jbd.o 
for module jbd has changed since load
Warning (expand_objects): object 
/lib/modules/2.4.27-2-smp/kernel/drivers/md/raid5.o for module raid5 has 
changed since load
Warning (expand_objects): object 
/lib/modules/2.4.27-2-smp/kernel/drivers/md/xor.o for module xor has changed 
since load
Warning (expand_objects): object 
/lib/modules/2.4.27-2-smp/kernel/drivers/md/raid1.o for module raid1 has 
changed since load
Warning (expand_objects): object 
/lib/modules/2.4.27-2-smp/kernel/drivers/md/raid0.o for module raid0 has 
changed since load
Warning (expand_objects): object 
/lib/modules/2.4.27-2-smp/kernel/drivers/md/md.o for module md has changed 
since load
Warning (expand_objects): object 
/lib/modules/2.4.27-2-smp/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx_2.o for 
module sym53c8xx_2 has changed since load
Warning (expand_objects): object 
/lib/modules/2.4.27-2-smp/kernel/drivers/scsi/qlogicisp.o for module qlogicisp 
has changed since load
Warning (expand_objects): object 
/lib/modules/2.4.27-2-smp/kernel/drivers/scsi/scsi_mod.o for module scsi_mod 
has changed since load
Warning (compare_maps): mismatch on symbol tulip_debug  , tulip says 
fffc00314d7c, 
/lib/modules/2.4.27-2-smp/kernel/drivers/net/tulip/tulip.o says 
fffc0030600c.  Ignoring 
/lib/modules/2.4.27-2-smp/kernel/drivers/net/tulip/tulip.o entry
Warning (compare_maps): mismatch on symbol sysctl_unix_max_dgram_qlen  , unix 
says fffc002abdf8, 
/lib/modules/2.4.27-2-smp/kernel/net/unix/unix.o says fffc002a6000.  
Ignoring /lib/modules/2.4.27-2-smp/kernel/net/unix/unix.o entry
Warning (compare_maps): mismatch on symbol scsi_command_size  , scsi_mod says 
fffc00219e20, 
/lib/modules/2.4.27-2-smp/kernel/drivers/scsi/scsi_mod.o says fffc001fc000. 
 Ignoring 
/lib/modules/2.4.27-2-smp/kernel/drivers/scsi/scsi_mod.o entry
Reading Oops report from the terminal
pc = [fffc0021ceb4]  ra = [fffc0021ceb4]  ps = 0007Not tainted
v0 =   t0 =   pc = [fffc0021ceb4]  ra = 
[fffc0021ceb4]  ps = 0007Not tainted
t1 = Using defaults from ksymoops -t elf64-alpha -a alpha
fffc0021d0a0
t2 v0 =   t0 =   t1 = fffc0021d0a0
=   t3 = fc00fe8a2000  t4 = 
t5 = fft2 =   t3 = fc00fe8a2000  t4 = 
fffc5a4dc0  t6 = fc5b2c78  t7 = fc50
s0 t5 = fc5a4dc0  t6 = fc5b2c78  t7 = fc50
=   s1 = 0002  s2 = fc00fff07800
s3 = ffs0 =   s1 = 0002  s2 = fc00fff07800
fffc00fff078c0  s4 = 0002  s5 = fc5a9670
s6 s3 = fc00fff078c0  s4 = 0002  s5 = fc5a9670
= 
a0 = s6 = 
fc00fe8a2040  a1 =   a2 = fc503ed8
aa0 = fc00fe8a2040  a1 =   a2 = fc503ed8
3 = fc00ea18fe78  a4 = fc00ea18fed8  a5 = fc5068c0
t8 = a3 = fc00ea18fe78  a4 = fc00ea18fed8  a5 = fc5068c0
001f  t9 = 0027239afdf5  t10= 4e00
tt8 = 001f  t9 = 0027239afdf5  t10= 4e00
11= 006d  pv = fc325f50  at = 
gp = t11= 006d  pv = fc325f50  at = 
fffc0022fa78  sp = fc503de8
gp = fffc0022fa78  sp = fc503de8
Trace:fc3186a4 fc3197c8 fc32ae3c fc319ff4 
fc3135b8 fc314d40 fc32ca70 fc3815e4 
fc314d24 fc3815e4 fc3100d4 fc31001c
Code: