Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to reconize firewire HD ?
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
PyrosFR
n00b
n00b


Joined: 09 Jun 2002
Posts: 6
Location: Nantes (FRANCE)

PostPosted: Sun Nov 02, 2003 5:15 pm    Post subject: how to reconize firewire HD ? Reply with quote

Hi

I just plug in a pinnacle studio DV 1394 card

I compiled ieee1391, raw1394, ohci1394, sbp2 sg, sd_mod as module

i can modprobe all of these

but there's no sda created...


#lspci |grep 1394
00:09.0 FireWire (IEEE 1394): Lucent Microelectronics FW323 (rev 04)

lsmod :
sd_mod 11468 0 (unused)
sbp2 16448 0 (unused)
scsi_mod 91156 2 [sd_mod sbp2]
ohci1394 16072 0 (unused)
ieee1394 32492 0 [sbp2 ohci1394]

tail /var/log/message :
Nov 2 18:13:55 random kernel: ohci1394: $Rev: 578 $ Ben Collins <bcollins@debian.org>
Nov 2 18:13:55 random kernel: ohci1394_0: Unexpected PCI resource length of 1000!
Nov 2 18:13:55 random kernel: ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[11] MMIO=[d8002000-d80027ff] Max Packet=[2048]
Nov 2 18:13:58 random kernel: SCSI subsystem driver Revision: 1.00
Nov 2 18:13:58 random kernel: scsi0 : IEEE-1394 SBP-2 protocol driver (host: ohci1394)
Nov 2 18:13:58 random kernel: $Rev: 584 $ James Goodwin <jamesg@filanet.com>
Nov 2 18:13:58 random kernel: SBP-2 module load options:
Nov 2 18:13:58 random kernel: - Max speed supported: S400
Nov 2 18:13:58 random kernel: - Max sectors per I/O supported: 255
Nov 2 18:13:58 random kernel: - Max outstanding commands supported: 8
Nov 2 18:13:58 random kernel: - Max outstanding commands per lun supported: 1
Nov 2 18:13:58 random kernel: - Serialized I/O (debug): no
Nov 2 18:13:58 random kernel: - Exclusive login: yes



but still scsi drive reconized.
This drive works fine on another pc with fw port.

# ~/rescan-scsi-bus.sh
Host adapter 0 (sbp2) found.
0 new device(s) found.
0 device(s) removed.

any idea ?
_________________
Linux Newbie for ever....
Back to top
View user's profile Send private message
ckdake
l33t
l33t


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

PostPosted: Sun Nov 02, 2003 5:24 pm    Post subject: Reply with quote

I don't know what the specific order is, but I do know that the order that you probe those modules in matters. Is the firewire drive plugged in when you are loading the modules? Have you tried loading all the modules, then plugging it in and seeing what dmesg says after that?
_________________
http://ckdake.com/
Back to top
View user's profile Send private message
PyrosFR
n00b
n00b


Joined: 09 Jun 2002
Posts: 6
Location: Nantes (FRANCE)

PostPosted: Sun Nov 02, 2003 6:13 pm    Post subject: Reply with quote

no msg when hotplug...
_________________
Linux Newbie for ever....
Back to top
View user's profile Send private message
ckdake
l33t
l33t


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

PostPosted: Sun Nov 02, 2003 6:28 pm    Post subject: Reply with quote

do you have hotplug device support in your kernel?

have you emerged hotplug and done

Code:
#rc-update add hotplug default


?
_________________
http://ckdake.com/
Back to top
View user's profile Send private message
PyrosFR
n00b
n00b


Joined: 09 Jun 2002
Posts: 6
Location: Nantes (FRANCE)

PostPosted: Sun Nov 02, 2003 7:15 pm    Post subject: Reply with quote

i just added hotplug...

now it load some 1394 modules at boot but get lots of error :
Nov 2 20:06:55 random kernel: ohci1394: $Rev: 578 $ Ben Collins <bcollins@debian.org>
Nov 2 20:06:55 random kernel: ohci1394_0: Unexpected PCI resource length of 1000!
Nov 2 20:06:55 random kernel: ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[11] MMIO=[d8002000-d80027ff] Max Packet=[2048]
Nov 2 20:06:55 random kernel: ohci1394_0: Error in reception of SelfID packets [0x00010014/0x00000000] (count: 0)
Nov 2 20:06:55 random kernel: ohci1394_0: Error in reception of SelfID packets [0x00020014/0x00000000] (count: 1)
....
Nov 2 20:06:55 random kernel: ohci1394_0: Error in reception of SelfID packets [0x00110014/0x00000000] (count: 16)
Nov 2 20:06:55 random kernel: ohci1394_0: Too many errors on SelfID error reception, giving up!




if i uplugg and re-plug, i've got that :
Nov 2 20:15:32 random kernel: ohci1394_0: Error in reception of SelfID packets [0x0012000c/0x00000000] (count: 16)
Nov 2 20:15:32 random kernel: ohci1394_0: Too many errors on SelfID error reception, giving up!
Nov 2 20:15:44 random kernel: ohci1394_0: Error in reception of SelfID packets [0x00130014/0x00000000] (count: 16)
Nov 2 20:15:44 random kernel: ohci1394_0: Too many errors on SelfID error reception, giving up!

thanks for your help
_________________
Linux Newbie for ever....
Back to top
View user's profile Send private message
ckdake
l33t
l33t


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

PostPosted: Sun Nov 02, 2003 7:39 pm    Post subject: Reply with quote

Ok. hmm. When trying to get my iPod to work on my linux box I got a bunch of those errors to, but usually I just unplug it and plug it back in and things seem to work.

(i am assuming you booted with the FW device unplugged, if not try booting with it unplugged and post back.)
since the selfID errors occur before the device is plugged in, that could indicate a bad firewire card (or controller on MB), or they could indicate that you dont have support for the right stuff in your kernel.

Basically, ya need to fix all of the errors with the device unplugged, and then plug it in and try to fix those errors.

What FW speciffic stuff did you compile into your kernel or as modules and which modules are you auto loading?
_________________
http://ckdake.com/
Back to top
View user's profile Send private message
PyrosFR
n00b
n00b


Joined: 09 Jun 2002
Posts: 6
Location: Nantes (FRANCE)

PostPosted: Mon Nov 03, 2003 8:31 am    Post subject: Reply with quote

#cat /usr/src/linux/.config |grep 1394
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
CONFIG_IEEE1394=m
CONFIG_IEEE1394_OHCI1394=m
CONFIG_IEEE1394_VIDEO1394=m
CONFIG_IEEE1394_SBP2=m
CONFIG_IEEE1394_SBP2_PHYS_DMA=y
# CONFIG_IEEE1394_ETH1394 is not set
# CONFIG_IEEE1394_DV1394 is not set
CONFIG_IEEE1394_RAWIO=m
# CONFIG_IEEE1394_CMP is not set
# CONFIG_IEEE1394_VERBOSEDEBUG is not set

nothing about 1394 in autoload (just network card and sound card)

Everything loaded by hotplug
CONFIG_HOTPLUG=y
CONFIG_HOTPLUG_PCI=y
and hotplug packages emerged and added to default

if i boot without any device, i still get the message about Self Id...:(
this chipset should "works" according to linux1394.org
_________________
Linux Newbie for ever....
Back to top
View user's profile Send private message
ckdake
l33t
l33t


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

PostPosted: Mon Nov 03, 2003 1:49 pm    Post subject: Reply with quote

are your firewire ports on a card or onboard?

you can always try booting with no apic or apic (i forget which one it is, you can try one or the other or both.). Sometimes they cause problems with drivers that can be fixed by turning them off.

Also, if it is a card, it never hurts to try the card in different slots and see if it works when that is the only pci card plugged into your machine.

If none of that works, turn on the extra debug information and see what that tells you.
_________________
http://ckdake.com/
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