Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84077 - kernel bug after /etc/init.d/hald restart - was problems with USB flash
Summary: kernel bug after /etc/init.d/hald restart - was problems with USB flash
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-04 05:02 UTC by Alexey Maximov
Modified: 2005-03-04 15:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Maximov 2005-03-04 05:02:38 UTC
sdg : READ CAPACITY failed.
sdg : status=0, message=00, host=7, driver=00
sdg : sense not available.
sdg: Write Protect is off
sdg: Mode Sense: 00 00 00 00
sdg: assuming drive cache: write through
sdg : READ CAPACITY failed.
sdg : status=0, message=00, host=7, driver=00
sdg : sense not available.
sdg: Write Protect is off
sdg: Mode Sense: 00 00 00 00
sdg: assuming drive cache: write through
 sdg:<4>printk: 8 messages suppressed.
Buffer I/O error on device sdg, logical block 0
Buffer I/O error on device sdg, logical block 0
Buffer I/O error on device sdg, logical block 0
 unable to read partition table
usb 1-8: USB disconnect, address 5
usb 1-8: new high speed USB device using ehci_hcd and address 6
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
  Vendor: USB Mass  Model:  Storage Drive 2  Rev: 002
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sdg: 251904 512-byte hdwr sectors (129 MB)
sdg: Write Protect is off
sdg: Mode Sense: 03 00 00 00
sdg: assuming drive cache: write through
SCSI device sdg: 251904 512-byte hdwr sectors (129 MB)
sdg: Write Protect is off
sdg: Mode Sense: 03 00 00 00
sdg: assuming drive cache: write through
 sdg: sdg1
Attached scsi removable disk sdg at scsi5, channel 0, id 0, lun 0
Attached scsi generic sg6 at scsi5, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete
sdg : READ CAPACITY failed.
sdg : status=0, message=00, host=7, driver=00
sdg : sense not available.
sdg: Write Protect is off
sdg: Mode Sense: 00 00 00 00
sdg: assuming drive cache: write through
sdg : READ CAPACITY failed.
sdg : status=0, message=00, host=7, driver=00
sdg : sense not available.
sdg: Write Protect is off
sdg: Mode Sense: 00 00 00 00
sdg: assuming drive cache: write through
 sdg:<3>Buffer I/O error on device sdg, logical block 0
Buffer I/O error on device sdg, logical block 0
Buffer I/O error on device sdg, logical block 0
 unable to read partition table
usb 1-8: USB disconnect, address 6
usb 1-8: new high speed USB device using ehci_hcd and address 7
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
  Vendor: USB Mass  Model:  Storage Drive 2  Rev: 002
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sdg: 251904 512-byte hdwr sectors (129 MB)
sdg: Write Protect is off
sdg: Mode Sense: 03 00 00 00
sdg: assuming drive cache: write through
SCSI device sdg: 251904 512-byte hdwr sectors (129 MB)
sdg: Write Protect is off
sdg: Mode Sense: 03 00 00 00
sdg: assuming drive cache: write through
 sdg: sdg1
Attached scsi removable disk sdg at scsi6, channel 0, id 0, lun 0
Attached scsi generic sg6 at scsi6, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete
Badness in kref_get at lib/kref.c:32
 [<c02284af>] kref_get+0x3f/0x50
 [<c0227a9f>] kobject_get+0xf/0x20
 [<c028ca9e>] get_device+0xe/0x20
 [<c02e0630>] scsi_request_fn+0x20/0x380
 [<c029f0dc>] cfq_kick_queue+0x3c/0x90
 [<c0127a1e>] worker_thread+0x16e/0x210
 [<c029f0a0>] cfq_kick_queue+0x0/0x90
 [<c01169f0>] default_wake_function+0x0/0x10
 [<c03da015>] schedule+0x225/0x440
 [<c01169f0>] default_wake_function+0x0/0x10
 [<c01278b0>] worker_thread+0x0/0x210
 [<c012b2c6>] kthread+0x96/0xe0
 [<c012b230>] kthread+0x0/0xe0
 [<c01012dd>] kernel_thread_helper+0x5/0x18
Badness in kref_get at lib/kref.c:32
 [<c02284af>] kref_get+0x3f/0x50
 [<c0227a9f>] kobject_get+0xf/0x20
 [<c028ca9e>] get_device+0xe/0x20
 [<c02e0630>] scsi_request_fn+0x20/0x380
 [<c029f0dc>] cfq_kick_queue+0x3c/0x90
 [<c0127a1e>] worker_thread+0x16e/0x210
 [<c029f0a0>] cfq_kick_queue+0x0/0x90
 [<c01169f0>] default_wake_function+0x0/0x10
 [<c03da015>] schedule+0x225/0x440
 [<c01169f0>] default_wake_function+0x0/0x10
 [<c01278b0>] worker_thread+0x0/0x210
 [<c012b2c6>] kthread+0x96/0xe0
 [<c012b230>] kthread+0x0/0xe0
 [<c01012dd>] kernel_thread_helper+0x5/0x18
Badness in kref_get at lib/kref.c:32
 [<c02284af>] kref_get+0x3f/0x50
 [<c0227a9f>] kobject_get+0xf/0x20
 [<c028ca9e>] get_device+0xe/0x20
 [<c02e0630>] scsi_request_fn+0x20/0x380
 [<c029f0dc>] cfq_kick_queue+0x3c/0x90
 [<c0127a1e>] worker_thread+0x16e/0x210
 [<c029f0a0>] cfq_kick_queue+0x0/0x90
 [<c01169f0>] default_wake_function+0x0/0x10
 [<c03da015>] schedule+0x225/0x440
 [<c01169f0>] default_wake_function+0x0/0x10
 [<c01278b0>] worker_thread+0x0/0x210
 [<c012b2c6>] kthread+0x96/0xe0
 [<c012b230>] kthread+0x0/0xe0
 [<c01012dd>] kernel_thread_helper+0x5/0x18
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c013c75d
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: bttv video_buf firmware_class v4l2_common btcx_risc tveeprom
ipt_MASQUERADE ipt_REJECT ipt_LOG ipt_state ipt_pkttype ipt_iprange ipt_physdev
ipt_multiport ipt_conntrack iptable_mangle ip_nat_irc ip_nat_tftp ip_nat_ftp ipt
able_nat ip_conntrack_irc ip_conntrack_tftp ip_conntrack_ftp ip_conntrack iptabl
e_filter ip_tables lp vmmon snd_seq_midi snd_emu10k1_synth snd_emux_synth snd_se
q_virmidi snd_seq_midi_emul snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_e
vent snd_seq analog ns558 parport_pc parport emu10k1_gp gameport snd_emu10k1 snd
_rawmidi snd_seq_device snd_ac97_codec snd_pcm snd_timer snd_page_alloc snd_util
_mem snd_hwdep snd e100 shpchp pci_hotplug amd64_agp evdev ntfs nls_cp1251 nls_c
p866 vfat fat cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave cpufr
eq_ondemand video thermal processor fan container button battery ac msr cpuid vp
x32xx tw98 saa7174hl saa7113h saa7111a saa7108e videodev tvaudio tvmixer soundco
re tuner binfmt_misc nvidia agpgart it87 eeprom i2c_sensor i2c_isa i2c_viapro dm
_mirror dm_snapshot sl811_hcd usbhid
CPU:    0
EIP:    0060:[<c013c75d>]    Tainted: P      VLI
EFLAGS: 00010012   (2.6.11-gentoo-ck1)
EIP is at kfree+0x2d/0x60
eax: 00000000   ebx: d9cbf5a8   ecx: c047f1f8   edx: c1000000
esi: 001d4ec1   edi: 00000202   ebp: 00000000   esp: dff88ee0
ds: 007b   es: 007b   ss: 0068
Process kblockd/0 (pid: 112, threadinfo=dff88000 task=dff955a0)
Stack: d9cbf5a8 00000000 00000000 c0227aea d9cbf5c0 c0227b50 000081a4 f7e35030
       c02284f9 c040aa53 00000020 d9cbf5a8 f7e35030 00000000 d9cbf400 c02e080a
       dfd5f8d8 00000001 00000003 00000086 d9cbf584 f7e35030 00000296 f6498ea0
Call Trace:
 [<c0227aea>] kobject_cleanup+0x3a/0xa0
 [<c0227b50>] kobject_release+0x0/0x10
 [<c02284f9>] kref_put+0x39/0x80
 [<c02e080a>] scsi_request_fn+0x1fa/0x380
 [<c029f0dc>] cfq_kick_queue+0x3c/0x90
 [<c0127a1e>] worker_thread+0x16e/0x210
 [<c029f0a0>] cfq_kick_queue+0x0/0x90
 [<c01169f0>] default_wake_function+0x0/0x10
 [<c03da015>] schedule+0x225/0x440
 [<c01169f0>] default_wake_function+0x0/0x10
 [<c01278b0>] worker_thread+0x0/0x210
 [<c012b2c6>] kthread+0x96/0xe0
 [<c012b230>] kthread+0x0/0xe0
 [<c01012dd>] kernel_thread_helper+0x5/0x18
Code: 0c 85 c0 89 74 24 04 89 c6 89 1c 24 89 7c 24 08 74 2a 9c 5f fa 8b 15 f0 1a a3 c0 8d 80 00 00 00 40 c1 e8 0c c1 e0 05 8b 44 10 18 <8b> 18 8b 13 3b 53 04 73 17 89 74 93 10 ff 03 57 9d 8b 1c 24 8b

my emerge info

-------------
host-172-22-24-2 media # emerge info
Portage 2.0.51.18 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-ck1 i686)
=================================================================
System uname: 2.6.11-gentoo-ck1 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 24 2005, 12:03:52)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/media/MEDIA1/gentoo/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg distlocks prelink sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.CP1251"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags"
MAKEOPTS="-j1"
PKGDIR="/media/MEDIA1/gentoo/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/media/MEDIA1/gentoo/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 4kstacks X a52 aac aalib acl acpi acpi4linux activefilter alsa apache2 apm arts artswrappersuid audiofile avi bash-completion bitmap-fonts bluetooth caps cddb cdparanoia cdr crypt cups curl dga dv dvd dvdr dvdread emboss encode exif fam ffmpeg flac foomaticdb gd gif gnutls gphoto2 gpm gtk2 guile hal howl iconv ieee1394 imagemagick imap imlib innodb jpeg jpeg2k kde kdeenablefinal ldap libg++ libwww lirc lm_sensors lmtp logitech-mouse lufsusermount lzo mad maildir mailwrapper mbox mikmodmjpeg mmx mozilla mp3 mpeg mppe-mppc nas ncurses nntp no-old-linux nptl nptlonly oav odbc ogg oggvorbis openal opengl pam pcre pda pdflib pic png pwdb qt quicktime quotas readline real rtc samba sasl silc skey slang slp smartcard socks5 spell ssl symlink tcpd tetex threads tiff transcode truetype truetype-fonts usb utf8 v4l v4l2 vcdimager wifi wmf xine xml2 xv yv12 zlib linguas_ru"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-04 06:00:04 UTC
As you can read in http://www.gentoo.org/doc/en/gentoo-kernel.xml you're using an unsupported kernel. Can you reproduce the problem with vanilla or gentoo sources?
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-04 15:57:36 UTC
Resolving. Please reopen, in case you can reproduce the issue with a supported kernel.