Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
end_request: I/O error, dev hdc, sector 0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Mon Dec 01, 2003 9:21 am    Post subject: end_request: I/O error, dev hdc, sector 0 Reply with quote

Since a couple of weeks my 2.6 kernel installation behaves strangely. It keeps putting out the following error
Code:
end_request: I/O error, dev hdc, sector 0
repeated about a 1000 times in the kernel logs in /var/log/kernel. Also, probably related, dmesg doesn't work any more but instead repeats this same error message about 50 times.

I'm using a test11 kernel right now but the error was already present in a test9 kernel.

Does anybody know where this error comes from?

/EDIT:

New and even stranger error messages. After reboot, inititally dmesg works again and looks OK. I thought this occurred because I had edited /etc/fstab. I had introduced a mount point /dev/dvdrom but I changed it back to /mnt/cdrom. Unfortunately this wasn't the problem. Output from dmesg:
Code:
usb-0000:00:03.2-1.2
eth0: Media Link On 100mbps full-duplex
Debug: sleeping function called from invalid context at mm/slab.c:1856
in_atomic():1, irqs_disabled():0
Call Trace:
 [<c011d632>] __might_sleep+0xab/0xcb
 [<c013f3f0>] kmem_cache_alloc+0x69/0x6b
 [<c014e4a3>] __get_vm_area+0x21/0xf8
 [<c014e5ad>] get_vm_area+0x33/0x37
 [<c011a9e4>] __ioremap+0xb3/0xfa
 [<c011aa54>] ioremap_nocache+0x29/0xa8
 [<f9ac74a9>] os_map_kernel_space+0x68/0x6c [nvidia]
 [<f9ad9a97>] __nvsym00568+0x1f/0x2c [nvidia]
 [<f9adbbb6>] __nvsym00775+0x6e/0xe0 [nvidia]
 [<f9adbc46>] __nvsym00781+0x1e/0x190 [nvidia]
 [<f9add6cc>] rm_init_adapter+0xc/0x10 [nvidia]
 [<f9ac3ee0>] nv_kern_open+0xf5/0x232 [nvidia]
 [<c015c88c>] chrdev_open+0xfb/0x227
 [<c01b5629>] devfs_open+0xf4/0x111
 [<c0152dd2>] dentry_open+0x14d/0x21b
 [<c0152c83>] filp_open+0x62/0x64
 [<c0153102>] sys_open+0x55/0x85
 [<c010afd7>] syscall_call+0x7/0xb

Debug: sleeping function called from invalid context at mm/slab.c:1856
in_atomic():1, irqs_disabled():0
Call Trace:
 [<c011d632>] __might_sleep+0xab/0xcb
 [<c013f3f0>] kmem_cache_alloc+0x69/0x6b
 [<c014e4a3>] __get_vm_area+0x21/0xf8
 [<c014e5ad>] get_vm_area+0x33/0x37
 [<c011a9e4>] __ioremap+0xb3/0xfa
 [<c011aa54>] ioremap_nocache+0x29/0xa8
 [<f9ac74a9>] os_map_kernel_space+0x68/0x6c [nvidia]
 [<f9ad9a97>] __nvsym00568+0x1f/0x2c [nvidia]
 [<f9adbbb6>] __nvsym00775+0x6e/0xe0 [nvidia]
 [<f9adbc46>] __nvsym00781+0x1e/0x190 [nvidia]
 [<f9add6cc>] rm_init_adapter+0xc/0x10 [nvidia]
 [<f9ac3ee0>] nv_kern_open+0xf5/0x232 [nvidia]
 [<c015c88c>] chrdev_open+0xfb/0x227
 [<c01b5629>] devfs_open+0xf4/0x111
 [<c0152dd2>] dentry_open+0x14d/0x21b
 [<c0152c83>] filp_open+0x62/0x64
 [<c0153102>] sys_open+0x55/0x85
 [<c010afd7>] syscall_call+0x7/0xb

agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
end_request: I/O error, dev hdc, sector 0
and the last line is repeated about 50 times
Back to top
View user's profile Send private message
ckdake
l33t
l33t


Joined: 10 Apr 2003
Posts: 889
Location: Atlanta, GA

PostPosted: Mon Dec 01, 2003 4:58 pm    Post subject: Reply with quote

is hdc an optical drive? I had that error message when using phpsysinfo when there was no media in my cd drive. I solved it by taking out the CD drive since that computer is a server. With my current computer, I can get that error trying to access the drive with no media in it so perhaps that is what you are doing?
_________________
http://ckdake.com/
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Mon Dec 01, 2003 5:29 pm    Post subject: Reply with quote

/dev/hdc is indeed a DVD-ROM drive and there's no disc in it. But that should be no problem, true?
Back to top
View user's profile Send private message
ckdake
l33t
l33t


Joined: 10 Apr 2003
Posts: 889
Location: Atlanta, GA

PostPosted: Mon Dec 01, 2003 5:50 pm    Post subject: Reply with quote

I tend to look at it as a "no cd in cd-rom drive" error message. I think it comes from a "fopen" system call do /dev/hdc so somewhere in your kernel or one of your drives, it tries to open the device for read or write access before it checks to see if it is there or not. Most likely it is a little bug in the kernel and will be fixed in the next release. I am using mm-sources test10 and I haven't noticed the error anywhere, So whenever test11 gets on there I'll keep my eyes open.
_________________
http://ckdake.com/
Back to top
View user's profile Send private message
Roc
n00b
n00b


Joined: 19 Jul 2002
Posts: 35

PostPosted: Thu Dec 04, 2003 3:36 pm    Post subject: Reply with quote

On my system, this error message appears when KsCD is running under KDE but no CD is in the drive.
Back to top
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Thu Dec 04, 2003 3:53 pm    Post subject: Reply with quote

I think I might have seen this error when I patched the kernel with the supermount-ng code. I get this:
Code:
end_request: I/O error, dev 02:00 (floppy), sector 0

and am running a 2.4 kernel (with supermount-ng).
Back to top
View user's profile Send private message
zebbedi
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2003
Posts: 123

PostPosted: Wed Dec 31, 2003 9:33 am    Post subject: Reply with quote

I had exact same problem. Ive got another thread open about this issue.

If you put a CD in the drive it stops.

Later i found out, that if i killed off the kscd process.. the messages stopped also.

Not sure what it was trying todo!?!?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum