[lkml]   [2005]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: segfault / oops with ide-scsi
Grant Coady wrote:
>Hi there,
>Got this, trying to mount CDROM on a troublesome box I've not had
>for long, Intel ICH 801 / 810 -- this with "hdc=ide-scsi":
>root@niner:~# mount /dev/sr0 /mnt/cdrom/
>mount: you must specify the filesystem type
>root@niner:~# mount -t iso9660 /dev/sr0 /mnt/cdrom/
>mount: /dev/sr0 is not a valid block device
>root@niner:~# mount -t iso9660 /dev/sg0 /mnt/cdrom/
>mount: /dev/sg0 is not a block device
>root@niner:~# mount -t iso9660 /dev/hdc /mnt/cdrom/
>Segmentation fault
>Even if this be finger trouble, it should not oops?
Could you try the patch below, what does it tell us? Somebody is not setting a
name of a kobject up.

regards, Jiri Slaby.
diff --git a/lib/kobject.c b/lib/kobject.c
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -72,6 +72,12 @@ static int get_kobj_path_length(struct k
* Add 1 to strlen for leading '/' of each level.
do {
+ printf(KERN_INFO "THIS:");
+ if (parent->name)
+ printf("%s:", parent->name);
+ if (kobject_name(parent))
+ printf("%s", kobject_name(parent));
+ printf("\n");
length += strlen(kobject_name(parent)) + 1;
parent = parent->parent;
} while (parent);
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2006-01-01 01:12    [W:0.044 / U:6.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site