<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>27504</bug_id>
          
          <creation_ts>2012-06-26 17:26:03 +0400</creation_ts>
          <short_desc>Always get CIFS error &quot;mount error(22): Invalid argument&quot; with kernel 3.4+</short_desc>
          <delta_ts>2013-03-10 08:30:41 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>kernel-image-std-def</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>https://bugzilla.redhat.com/show_bug.cgi?id=832741</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Motsyo Gennadi">drool</reporter>
          <assigned_to name="Vitaly Chikunov">vt</assigned_to>
          <cc>evg</cc>
    
    <cc>kernelbot</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>132074</commentid>
    <comment_count>0</comment_count>
    <who name="Motsyo Gennadi">drool</who>
    <bug_when>2012-06-26 17:26:03 +0400</bug_when>
    <thetext>Ядра 3.4+ не монтируют самба. Запись в fstab имеет вид:
====================
//10.32.20.3/D$ /mnt/atlant cifs user=Администратор,password=passwd,uid=500,gid=500,_netdev
====================
Автоматом не монтирует. Вручную:
====================
# mount -a
mount: wrong fs type, bad option, bad superblock on //10.32.20.3/D$,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.&lt;type&gt; helper program)
       В некоторых случаях полезная информация может быть
       найдена в syslog - попробуйте dmesg | tail или что-то
       в этом роде
====================
В dmesg:
====================
[23466.880879] CIFS VFS: Connecting to DFS root not implemented yet
[23466.881089] CIFS VFS: cifs_mount failed w/return code = -22
====================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132100</commentid>
    <comment_count>1</comment_count>
    <who name="Anton V. Boyarshinov">boyarsh</who>
    <bug_when>2012-06-28 14:44:23 +0400</bug_when>
    <thetext>У меня не воспроизводится..
//altair/space on /mnt/floppy type cifs (rw,relatime,mand,sec=ntlm,unc=\\altair\space,username=root,uid=0,noforceuid,gid=0,noforcegid,addr=10.1.0.2,unix,posixpaths,serverino,acl,rsize=1048576,wsize=65536,actimeo=1)
[root@boyarsh ~]# uname -a
Linux boyarsh.office.altlinux.ru 3.4.3-un-def-alt0.M60P.1 #1 SMP PREEMPT Mon Jun 18 19:14:13 UTC 2012 x86_64 GNU/Linux</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132123</commentid>
    <comment_count>2</comment_count>
    <who name="Motsyo Gennadi">drool</who>
    <bug_when>2012-07-02 09:33:35 +0400</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; [root@boyarsh ~]# uname -a
&gt; Linux boyarsh.office.altlinux.ru 3.4.3-un-def-alt0.M60P.1 #1 SMP PREEMPT Mon
&gt; Jun 18 19:14:13 UTC 2012 x86_64 GNU/Linux

У меня (правда, 32 бита) воспроизводилось как с этим ядром, так и с только что обновленным:
uname -a
Linux it.bs.ks.court.gov.ua 3.4.4-un-def-alt0.M60P.1 #1 SMP PREEMPT Thu Jun 28 11:34:45 UTC 2012 i686 GNU/Linux
=========================================
mount -a
mount: wrong fs type, bad option, bad superblock on //10.32.20.3/D$,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.&lt;type&gt; helper program)
       В некоторых случаях полезная информация может быть
       найдена в syslog - попробуйте dmesg | tail или что-то
       в этом роде
=========================================
Как показало углубленное гугление, помогла доустановка пакета cifs-utils, который содержит /sbin/mount.cifs. Вопрос - как оно монтировалось раньше, почему этот файл исчез (если он был), и если он был раньше и исчез (тоньше распилили пакет?) - почему его не подтянуло снова?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132504</commentid>
    <comment_count>3</comment_count>
    <who name="Motsyo Gennadi">drool</who>
    <bug_when>2012-07-31 18:07:14 +0400</bug_when>
    <thetext>Только что на одной машине (симпли) переехал с ядра std-def на un-def - снова поймал эту граблю.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>