By offline, did you mean the disk was offline on the target side? if
so, do you know what type of target you're using open-iscsi against?
If that is iscsi enterprise target, you can edit the configure file /
etc/ietd.conf on the target side properly and restart the target
service by "/etc/init.d/iscsitarget restart".

Also you can check this out and see if it can help a bit (it's for
ubuntu but the set up process should be similar on your linux distro):
http://www.howtoforge.com/using-iscsi-on-ubuntu-9.04-initiator-and-target



On Apr 21, 5:42 am, "Dominique Cressatti"
<[email protected]> wrote:
> I've figured it out. It turned out that the iscsi disk was offline. I
> managed to turn if online from within Windows but how would turn it
> online/offline from with Linux ?
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
>
> Behalf Of Mike Christie
> Sent: 20 April 2010 06:14
> To: [email protected]
> Cc: dom2319
> Subject: Re: kernel call trace after successfully logging into our portal
>
> On 04/19/2010 06:14 AM, dom2319 wrote:
> > DebianTemp:~# [   58.284344] register_blkdev: cannot get major 8 for
> > sd
>
> I think this error is related to the one below. I think you just need to
> update your kernel.
>
>  > Also with fdisk I get:
>
>  > DebianTemp:~# fdisk /dev/sda
>
>  > Unable to open /dev/sda
>  > DebianTemp:~#
>
> This one I have not seen before. Do you know what module isgetting
> loaded? It might be due to the other block dev error above.
>
> If you are trying to read the module from a iscsi disk, then the problem
> is probably that there was a bug in the scsi layer above and you cannot
> access the disk due to it, so you get the error below.
>
> If the module was on some local disk, then I am not sure.
>
> > I get the following call traces:
>
> > [ 3699.105931] INFO: task modprobe:1342 blocked for more than 120
> > seconds.
> > [ 3699.105945] "echo 0>  /proc/sys/kernel/hung_task_timeout_secs"
> > disables this message.
> > [ 3699.105949] modprobe      D ffff8800815bd000     0  1342      1
> > [ 3699.105955]  ffff880006881838 0000000000000286 ffff880007ded818
> > ffff880006143800
> > [ 3699.105961]  ffff8800014eca40 ffff8800014bf640 ffff8800014eccc0
> > 000000008020e810
> > [ 3699.105967]  0000000000000000 ffff8800067e2368 00000000000024b2
> > ffff8800815bd000
> > [ 3699.105972] Call Trace:
> > [ 3699.105986]  [<ffffffff8020e911>] xen_clocksource_read+0xd/0x9c
> > [ 3699.105992]  [<ffffffff80264711>] sync_page+0x0/0x41
> > [ 3699.105996]  [<ffffffff80243f1e>] getnstimeofday+0x39/0x98
> > [ 3699.106001]  [<ffffffff80264711>] sync_page+0x0/0x41
> > [ 3699.106006]  [<ffffffff802b12eb>] blkdev_readpage+0x0/0xf
> > [ 3699.106011]  [<ffffffff80434297>] io_schedule+0x5c/0x9e
> > [ 3699.106016]  [<ffffffff8026474d>] sync_page+0x3c/0x41
> > [ 3699.106020]  [<ffffffff8043440a>] __wait_on_bit_lock+0x36/0x66
> > [ 3699.106028]  [<ffffffff802646fe>] __lock_page+0x5e/0x64
> > [ 3699.106034]  [<ffffffff8023f6b7>] wake_bit_function+0x0/0x23
> > [ 3699.106038]  [<ffffffff80264cf3>] read_cache_page_async+0xc3/0x121
> > [ 3699.106044]  [<ffffffff80266464>] read_cache_page+0x6/0x3b
> > [ 3699.106049]  [<ffffffff802cfd57>] read_dev_sector+0x2a/0x88
> > [ 3699.106056]  [<ffffffff802d0520>] adfspart_check_ICS+0x0/0x164
> > [ 3699.106060]  [<ffffffff802d0547>] adfspart_check_ICS+0x27/0x164
> > [ 3699.106065]  [<ffffffff802d0520>] adfspart_check_ICS+0x0/0x164
> > [ 3699.106070]  [<ffffffff802d040c>] rescan_partitions+0x123/0x237
> > [ 3699.106075]  [<ffffffff802b0f7b>] do_open+0x234/0x2e8
> > [ 3699.106079]  [<ffffffff802d522c>] sysfs_ilookup_test+0x0/0xf
> > [ 3699.106084]  [<ffffffff802b109f>] __blkdev_get+0x70/0x82
> > [ 3699.106097]  [<ffffffff802d0293>] register_disk+0xe7/0x13d
> > [ 3699.106103]  [<ffffffff80305963>] add_disk+0x3a/0x87
> > [ 3699.106110]  [<ffffffffa01401e5>] :sd_mod:sd_probe+0x317/0x3d8
> > [ 3699.106117]  [<ffffffff80378cac>] driver_probe_device+0xd0/0x14d
> > [ 3699.106121]  [<ffffffff80378d6f>] __driver_attach+0x46/0x6d
> > [ 3699.106125]  [<ffffffff80378d29>] __driver_attach+0x0/0x6d
> > [ 3699.106129]  [<ffffffff80378480>] bus_for_each_dev+0x44/0x6f
> > [ 3699.106134]  [<ffffffff8037889e>] bus_add_driver+0xae/0x1e4
> > [ 3699.106139]  [<ffffffff80378ff6>] driver_register+0x84/0xe7
> > [ 3699.106144]  [<ffffffffa014608b>] :sd_mod:init_sd+0x8b/0xee
> > [ 3699.106150]  [<ffffffff8024c5a2>] sys_init_module+0x191b/0x1ab1
> > [ 3699.106170]  [<ffffffffa00aab89>] :scsi_mod:scsi_set_medium_removal
> > +0x0/0x70
> > [ 3699.106179]  [<ffffffff8020b528>] system_call+0x68/0x6d
> > [ 3699.106183]  [<ffffffff8020b4c0>] system_call+0x0/0x6d
> > [ 3699.106187]
>
> > Also with fdisk I get:
>
> > DebianTemp:~# fdisk /dev/sda
>
> > Unable to open /dev/sda
> > DebianTemp:~#
>
> > Would anybody be able to tell me what's happening?
>
> --
> You received this message because you are subscribed to the Google Groups
> "open-iscsi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/open-iscsi?hl=en.
>
> --------------------------------------------------------------------------- -
> This message is confidential and may be privileged. It is intended solely for
> the named addressee. If you are not the intended recipient, please inform us.
> Any unauthorised dissemination, distribution or copying hereof is prohibited.
>
> Formicary Limited registered office in England and Wales, address 1 Taillar
> Road, Hedon, East Yorkshire HU12 8GU, registration number 3894343, VAT number
> 747644304, does not guarantee that the integrity of this communication has 
> been
> maintained nor that this communication is free of viruses, interceptions or
> interference.
> --------------------------------------------------------------------------- -
>
> --
> You received this message because you are subscribed to the Google Groups 
> "open-iscsi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/open-iscsi?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to