Bug 5531 - SCSI SR_MOD Doesn't Recognize CD after 2.6.13.2
Summary: SCSI SR_MOD Doesn't Recognize CD after 2.6.13.2
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: SCSI Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Mike Anderson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-01 13:05 UTC by Cody Chamberlain
Modified: 2007-09-09 12:11 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.14
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
2.6.13.4 DMesg Ouput (15.29 KB, text/plain)
2005-11-01 13:49 UTC, Cody Chamberlain
Details
dmesg output 2.6.13.2 (14.40 KB, text/plain)
2005-11-01 13:58 UTC, Cody Chamberlain
Details

Description Cody Chamberlain 2005-11-01 13:05:42 UTC
Most recent kernel where this bug did not occur:2.6.13.2
Distribution: Debian Etch
Hardware Environment:
Dell Inspiron 6000 Laptop
Pentium M

Software Environment:
Problem Description:
Kernel doesn't recognize cd-r/dev-rom in kernels after 2.6.13.2 using SCSI
loadable module. Output on /val/log/boot in 2.6.13.2:
Tue Nov  1 13:05:20 2005:    scsi
Tue Nov  1 13:05:20 2005:      sd_mod: can't be loaded (for disk)
Tue Nov  1 13:05:20 2005:      sr_mod: loaded successfully (for cdrom)
Tue Nov  1 13:05:20 2005:      sg: loaded successfully (for cdrom)
Tue Nov  1 13:05:20 2005:    scsi     [success]

/var/log/boot output after:
    scsi
      sd_mod: can't be loaded (for disk)
    scsi     [success]

Steps to reproduce:

I am using identical .configs in each vanilla source from kernel.org. Copy
.config from 13.2 to 13.4 -- using make oldconfig. Same issue happens with 2.6.14
Comment 1 Adrian Bunk 2005-11-01 13:35:20 UTC
Do you have any patches applied to your kernel or is it a vanilla ftp.kernel.org
kernel?

Am I understanding you correctly that 2.6.13.2 works and 2.6.13.4 doesn't work?

Please attach complete dmesg for both kernels.
Comment 2 Cody Chamberlain 2005-11-01 13:42:14 UTC
No patches have been applied to any kernels. All are pure vanilla from
Kernel.org. I haven't been able to see the CDR/DVDROM after 2.6.13.2.
Comment 3 Cody Chamberlain 2005-11-01 13:49:49 UTC
Created attachment 6441 [details]
2.6.13.4 DMesg Ouput

This is the dmesg output taken direction off of a fresh boot into the kernel
2.6.13.4
Comment 4 Cody Chamberlain 2005-11-01 13:58:56 UTC
Created attachment 6443 [details]
dmesg output 2.6.13.2

here is the dmesg output from the 2.6.13.2 taken immediately after boot into
system
Comment 5 Adrian Bunk 2005-11-04 07:49:47 UTC
Sorry, my fault:

Please attach in both cases the output of
  dmesg -s 1000000

This will hopefully show the interesting stuff.
Comment 6 Andrew Morton 2005-11-11 00:20:29 UTC
This looks like a .config problem - perhaps something
changed in scsi and your modules aren't being built.

Do you actually have an sr_mod.ko and sd_mod.ko
under /lib/modules/2.6.14/kernel/drivers/... ?

Anyway, check the .config and if it's still
happening, we might have a module dependency problem.
Comment 7 Cody Chamberlain 2005-11-11 07:07:55 UTC
looks like the modules are there. i have sd_mod compiled into the kernel.

cody@cooter:/lib/modules/2.6.14.1.20051110.1/kernel/drivers/scsi$ ls
sg.ko  sr_mod.ko
Comment 8 Cody Chamberlain 2005-11-11 07:13:58 UTC
looks like sr_mod is being loaded: here my lsmod...

cooter:~# lsmod
Module                  Size  Used by
af_packet              18184  2
binfmt_misc             9736  1
thermal                10888  0
fan                     3460  0
button                  5008  0
processor              14508  1 thermal
ac                      3460  0
battery                 7684  0
pcmcia                 33428  2
firmware_class          8448  1 pcmcia
ohci1394               33332  0
yenta_socket           25100  2
rsrc_nonstatic         10368  1 yenta_socket
pcmcia_core            37648  3 pcmcia,yenta_socket,rsrc_nonstatic
8250_pci               18176  0
8250                   22116  1 8250_pci
serial_core            19328  1 8250
snd_intel8x0           31456  1
snd_ac97_codec         95740  1 snd_intel8x0
snd_ac97_bus            2048  1 snd_ac97_codec
snd_pcm_oss            51360  1
snd_mixer_oss          18048  1 snd_pcm_oss
snd_pcm                85640  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              22788  1 snd_pcm
snd                    48356  6
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               8288  2 snd
snd_page_alloc          8712  2 snd_intel8x0,snd_pcm
ehci_hcd               31496  0
usbhid                 36960  0
uhci_hcd               31888  0
usbcore               112896  4 ehci_hcd,usbhid,uhci_hcd
intel_agp              21276  1
agpgart                29896  1 intel_agp
rtc                    11320  0
sg                     35616  0
sr_mod                 14500  0
cdrom                  38688  1 sr_mod
sbp2                   22020  0
ieee1394              292152  2 ohci1394,sbp2
b44                    21252  0
mii                     4864  1 b44
unix                   25136  498
cooter:~#
Comment 9 Cody Chamberlain 2005-11-11 07:21:53 UTC
sr_mod is here.
cooter:~# modinfo sr_mod
filename:       /lib/modules/2.6.14.1.20051110.1/kernel/drivers/scsi/sr_mod.ko
license:        GPL
vermagic:       2.6.14.1.20051110.1 preempt PENTIUMM gcc-4.0
depends:        cdrom
parm:           xa_test:int
cooter:~# uname -a
Linux cooter 2.6.14.1.20051110.1 #1 PREEMPT Thu Nov 10 10:39:45 CST 2005 i686
GNU/Linux
cooter:~#
Comment 10 Cody Chamberlain 2005-11-11 07:25:11 UTC
i also did a diff of the .configs into two different kernel sources

cooter:/usr/src# diff linux-2.6.13.2/.config linux-2.6.14.1/.config
3,4c3,4
< # Linux kernel version: 2.6.13.2
< # Tue Nov  1 11:33:22 2005
---
> # Linux kernel version: 2.6.14.1.20051110.1
> # Thu Nov 10 10:34:45 2005
6a7
> CONFIG_SEMAPHORE_SLEEPERS=y
10a12
> CONFIG_ARCH_MAY_HAVE_PC_FDC=y
24a27
> CONFIG_LOCALVERSION_AUTO=y
35a39
> CONFIG_INITRAMFS_SOURCE=""
134a139,140
> # CONFIG_DELL_RBU is not set
> CONFIG_DCDBAS=m
143a150
> # CONFIG_SPARSEMEM_STATIC is not set
147d153
< CONFIG_HAVE_DEC_LOCK=y
169,170d174
< CONFIG_ACPI_BOOT=y
< CONFIG_ACPI_INTERPRETER=y
185d188
< CONFIG_ACPI_BUS=y
188d190
< CONFIG_ACPI_PCI=y
196,203c198
< CONFIG_APM=m
< # CONFIG_APM_IGNORE_USER_SUSPEND is not set
< # CONFIG_APM_DO_ENABLE is not set
< # CONFIG_APM_CPU_IDLE is not set
< # CONFIG_APM_DISPLAY_BLANK is not set
< # CONFIG_APM_RTC_IS_GMT is not set
< # CONFIG_APM_ALLOW_INTS is not set
< # CONFIG_APM_REAL_MODE_POWER_OFF is not set
---
> # CONFIG_APM is not set
224d218
< CONFIG_PCI_NAMES=y
247d240
< # CONFIG_TCIC is not set
300,301c293,294
< CONFIG_IP_TCPDIAG=y
< # CONFIG_IP_TCPDIAG_IPV6 is not set
---
> CONFIG_INET_DIAG=y
> CONFIG_INET_TCP_DIAG=y
340a334
> # CONFIG_NETFILTER_NETLINK is not set
347a342
> # CONFIG_IP_NF_CONNTRACK_EVENTS is not set
350a346
> # CONFIG_IP_NF_NETBIOS_NS is not set
352a349
> # CONFIG_IP_NF_PPTP is not set
376a374
> # CONFIG_IP_NF_MATCH_DCCP is not set
378a377
> # CONFIG_IP_NF_MATCH_STRING is not set
383a383
> # CONFIG_IP_NF_TARGET_NFQUEUE is not set
400a401
> # CONFIG_IP_NF_TARGET_TTL is not set
411a413,417
> # DCCP Configuration (EXPERIMENTAL)
> #
> # CONFIG_IP_DCCP is not set
>
> #
436a443
> # CONFIG_IEEE80211 is not set
450a458,462
> # Connector - unified userspace <-> kernelspace linker
> #
> # CONFIG_CONNECTOR is not set
>
> #
488d499
< CONFIG_INITRAMFS_SOURCE=""
510a522
> # CONFIG_RAID_ATTRS is not set
537a550
> # CONFIG_SCSI_SAS_ATTRS is not set
551a565
> # CONFIG_MEGARAID_SAS is not set
555a570
> # CONFIG_SCSI_SATA_MV is not set
609a625
> # CONFIG_FUSION_SAS is not set
663a680,684
> # PHY device support
> #
> # CONFIG_PHYLIB is not set
>
> #
669a691
> # CONFIG_CASSINI is not set
706a729
> # CONFIG_SIS190 is not set
715a739
> # CONFIG_CHELSIO_T1 is not set
743a768
> # CONFIG_AIRO is not set
746a772
> # CONFIG_NORTEL_HERMES is not set
754a781
> # CONFIG_PCMCIA_SPECTRUM is not set
762a790
> # CONFIG_HOSTAP is not set
945a974
> # CONFIG_DRM_SAVAGE is not set
985d1013
< # CONFIG_I2C_ISA is not set
999d1026
< # CONFIG_I2C_SENSOR is not set
1025a1053
> # CONFIG_HWMON_VID is not set
1032a1061,1064
> # Multimedia Capabilities Port drivers
> #
>
> #
1083a1116
> # CONFIG_FB_CYBLA is not set
1133a1167
> CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
1144a1179,1180
> CONFIG_SND_AC97_CODEC=m
> CONFIG_SND_AC97_BUS=m
1149d1184
< CONFIG_SND_AC97_CODEC=m
1172a1208
> # CONFIG_SND_AD1889 is not set
1237c1273
< # CONFIG_USB_AUDIO is not set
---
> # CONFIG_OBSOLETE_OSS_USB_DRIVER is not set
1239d1274
< # CONFIG_USB_MIDI is not set
1276a1312
> # CONFIG_USB_YEALINK is not set
1279a1316
> # CONFIG_USB_APPLETOUCH is not set
1381,1384d1417
<
< #
< # XFS support
< #
1392a1426
> # CONFIG_FUSE_FS is not set
1422d1455
< # CONFIG_DEVPTS_FS_XATTR is not set
1424d1456
< # CONFIG_TMPFS_XATTR is not set
1427a1460
> # CONFIG_RELAYFS_FS is not set
1471a1505
> # CONFIG_9P_FS is not set
1534a1569
> CONFIG_DETECT_SOFTLOCKUP=y
1600a1636
> # CONFIG_CRC16 is not set
Comment 11 Natalie Protasevich 2007-07-22 15:41:10 UTC
Any updates on this problem, how is it working with current kernel (~2.6.22+)?
Thanks.
Comment 12 Adrian Bunk 2007-09-09 12:11:19 UTC
Please reopen this bug if it's still present with kernel 2.6.22.

Note You need to log in before you can comment on or make changes to this bug.