Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO USB Mass Storage Device and Gentoo :D
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
pregopresto
n00b
n00b


Joined: 05 May 2003
Posts: 46

PostPosted: Tue Nov 04, 2003 4:39 pm    Post subject: Reply with quote

hi

i am not at home, currently, but as soon as i have time and my gentoo box again, i will have a look at it

prego
Back to top
View user's profile Send private message
TobiWan
Apprentice
Apprentice


Joined: 07 Jul 2003
Posts: 275
Location: Brussels, Old Europe

PostPosted: Tue Nov 04, 2003 4:50 pm    Post subject: Hi Jan, Reply with quote

Thanks a lot. Until then I will have the kernel compiled the way we discussed.

thanks again,
Tobias
_________________
Killing for peace is like fucking for virginity.
Back to top
View user's profile Send private message
shakti
Guru
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Tue Nov 04, 2003 5:32 pm    Post subject: Reply with quote

i dont know why but for me it only works sometimes. when i plug in my flash drive the first time nothing happens, i have to unplug it and replug it 2 or 3 times before it shows up in /dev
sometimes it gets detected but does not create /dev entries and sometimes it works like a charm... using kernel 2.6.0-test9 but it happened with 2.4 also....any ideas where to start looking?
_________________
Using Gentoo since 2002.
Back to top
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1317
Location: UK

PostPosted: Tue Nov 04, 2003 7:01 pm    Post subject: Reply with quote

i never have any trouble with it. maybe your USB port is dusty? ;-)
Back to top
View user's profile Send private message
gkmac
Guru
Guru


Joined: 19 Jan 2003
Posts: 324
Location: West Sussex, UK

PostPosted: Fri Nov 07, 2003 7:46 pm    Post subject: Reply with quote

czerteak wrote:
has anyone played with usb-storage in 2.6 kernels? For me it works fine but it has a strange hitch. I can plug the usb-stick and dmesg says the normal stuff. It automatically creates the /dev/sda and /dev/sda1 devices and I can mount them. Reading and writing is fine, so is unmounting. BUT! When I unplug the device, the /dev/sda and /dev/sda1 stay there and replugging the usb-stick again causes /dev/sdb and /dev/sdb1 to be created. It can continue over sdc, sdd, and so on...

I am having a similar problem with a USB to IDE adaptor (under gentoo-sources-2.4.20), that allows hard drives, CD-ROMs, DVD-ROMs or CD writers to be plugged into a USB port (so you can use them quickly without taking the PC case off).

In my case, connecting it works; /dev/sda and /dev/sda1 appear and mounting/reading/writing and unmount works flawlessly, but disconnecting it doesn't make the /dev/sda and /dev/sda1 disappear.

What's more, reconnecting it (regardless of whether the same IDE device is attached to it, or if a different IDE device is attached) seems to make it useless until the next reboot and any program accessing /dev/sda and /dev/sda1 from that point locks hard; the program cannot be killed even if you use kill -9

When the device is connected, two processes "usb-storage-0" and "scsi_eh_1" are created. Even when the device is disconnected, these processes don't disappear and those cannot be killed (even with -9)

So in short, once I disconnect the device I cannot use it again AT ALL until I reboot, which is a PITA.

Any remedies?
Back to top
View user's profile Send private message
CrunchyB
n00b
n00b


Joined: 26 Sep 2003
Posts: 24

PostPosted: Fri Nov 07, 2003 8:23 pm    Post subject: Reply with quote

[quote="gkmac"]
czerteak wrote:

So in short, once I disconnect the device I cannot use it again AT ALL until I reboot, which is a PITA.

Any remedies?


Does this happen when you umount properly?
Back to top
View user's profile Send private message
gkmac
Guru
Guru


Joined: 19 Jan 2003
Posts: 324
Location: West Sussex, UK

PostPosted: Fri Nov 07, 2003 8:26 pm    Post subject: Reply with quote

CrunchyB wrote:
gkmac wrote:

So in short, once I disconnect the device I cannot use it again AT ALL until I reboot, which is a PITA.

Any remedies?


Does this happen when you umount properly?

Yes it does. Even if I don't mount the device at all (i.e. if I just connect and then disconnect it) then disconnecting it make it useless until the next reboot.

EDIT: All the usb-storage, scsi-emulation and stuff is compiled into the kernel (i.e. not as modules). Does this contribute to this problem?
Back to top
View user's profile Send private message
NOS2
n00b
n00b


Joined: 01 Nov 2003
Posts: 18

PostPosted: Thu Nov 13, 2003 9:25 am    Post subject: Reply with quote

Thanks for the great help, my usb-mouse and usb 2 harddisk van lacie works great.

greetz NOS2
:lol: :lol: :lol:
Back to top
View user's profile Send private message
lunatc
Guru
Guru


Joined: 18 Apr 2002
Posts: 409
Location: Canary Islands. Spain

PostPosted: Thu Nov 13, 2003 10:08 pm    Post subject: Re: Automatic Mounting Reply with quote

EDIT 08-01-2004:
1.- Modified the usb-storage script for fixing some problems that make on some systems to call this script too early.
2.- Modified usbstoragemount to behave correctly on USB disks that has no partition info (formatted as a big floppy).
[/EDIT]
EDIT 30-01-2004:
1.- Modified usbstoragemount to behave correctly when two USB disks are inserted (duplicated mounts/mount points)
[/EDIT]


agrippa_cash wrote:
This thread (originally pointed to in yet another thread)[url] http://forums.gentoo.org/viewtopic.php?t=15334&highlight=[/url] shows a script that mounts and unmounts USB drives. Unfortunatly I cannot get it to work.

................
Part of my problem may be that my USB drive is bargain basement
.....
and without vendor or Product info.
......

Another problem may be that as I insert and remove the usbdrive, new SCSI hosts are created to address it. This makes my fstab location of "dev/sda1" inaccurate as the drive is addressed as "dev/sdb1" c1,d1 etc.... Hopefully the script removes the SCSI host as well. If you get it working please post HOW.


Hey.
I've just modified my script to make it work with no "Product name" and also for 2.6 kernel.
I've tested it on my system (2.6.0-test9-mm1) and I haven't noticed any issues (at the moment! ;) )

So Here is the "re-post":
BTW, maybe it isn't a very "polished" script but it works for me ;)

WARNING:

1.-The script modifies the fstab to allow users to safely umount the automounted device.
So make sure this script fits on your system. USE IT AT YOUR OWN RISK.!!
2.-I've done with vfat-formatted devices in mind so modify it to suit your needs.
3.-It mounts the filesystem as owner root and with a "usbstorage" group, and with
0770 permissions. Add users to the "usbstorage" group to allow users to access
/umount the filesystem.

4.-Sorry for my english!

Installing...

This scrips needs hotplug merged.

Create (if not exists) a directory /var/run/usb.

Create/Modify /etc/hotplug/usb/usb-storage:

Code:

#!/bin/bash
# In my system I need this to refresh devfs when an usb-storage device
# is inserted. I don't know why I need to refresh devfs but it works!!
# On some systems this can be commented.
kill -HUP `pidof devfsd`

# Call automounter script
sleep 2; /usr/local/bin/usbstoragemount $REMOVER

MPOINT=$(cat $REMOVER | grep "#mounted: " | awk -F\  '{print $2}')
if [ ! -z "$MPOINT" ] ; then
    # Do here whatever you like as open the path in konqueror and the like...
    echo $MPOINT
fi



Copy the script to /usr/local/bin (for example) as usbstoragemount:

Code:

#!/bin/bash
# usbstoragemount: A script to automount usb-storage devices
# Antonio Trujillo Coronado - lunatc at terra dot es
# lunatc at gentoo forums.
# 13-11-2003 Modified to work on 2.6 kernels and on devices with no "Product-name" defined.
# 07-11-2004 Modified to work on USB disks formatted as a big floppy (no partition info)

MOUNTOWNER=root
MOUNTGROUP=usbstorage
MYNAME="$(basename $0):"
MOUNTOK=0

REMSCRIPT="$1"
if [ ! $REMSCRIPT ] ; then
   logger "$MYNAME Using fake remover. $MYNAME shoud be called with the remover path as the first arg."
   REMSCRIPT=/var/run/usb/fake-remover
fi

function GetDev() {
  DEVPATH=$(echo "$I $USBSTORDEV" | awk -F\  '{ printf "/dev/scsi/host%d/bus%d/target%d/lun%d\n",$0,$4,$6,$8  }')
  logger "$MYNAME DevPath: $DEVPATH"
  logger "$MYNAME DevName: $DEVNAME"
}

function MountDevice() {

# Get mount point name based on the device name.
# 1st sed:  Remove chars not in the a-z A-Z 0-9 range plus underscore and space chars
# 2nd sed:  Convert spaces to underscore: the {1,} converts two or more consecutive spaces
#           into one
# 3rd sed:  Remove underscores at the end
# 4th sed:  Remove underscores in the beginning
# After all a DEVNAME like "  Flash.  Disk " is converted into "Flash_Disk"

  YETMOUNTED=0
  PART=part1
  mount | grep $DEVPATH/$PART > /dev/null && YETMOUNTED=1
  if [ "$YETMOUNTED" = "0" ] ; then
    PART=disc
    mount | grep $DEVPATH/$PART > /dev/null && YETMOUNTED=1
  fi


if [ "$YETMOUNTED" = "1" ] ; then

 logger "$MYNAME device $DEVPATH/$PART is currently mounted: ignoring..."

else

   MPOINT=/mnt/$(echo "${DEVNAME}" | sed -e "s/[^a-zA-Z0-9_ ]//g" -e "s/\ \{1,\}/_/g" -e "s/_$//g" -e "s/^_//g")

# if mount point does not exists
   if [ ! -d "$MPOINT" ] ; then
       logger "$MYNAME Making directory $MPOINT"
       mkdir "$MPOINT" > /dev/null
   else
   # reuse if not mounted
       if mount | grep "$MPOINT" > /dev/null ; then
           logger "$MYNAME $MPOINT exists and it is currently mounted."
           MPOINT="$MPOINT-$RANDOM"
           logger "$MYNAME Using $MPOINT instead"
           logger "$MYNAME Making directory $MPOINT"
           mkdir "$MPOINT" > /dev/null
       else
           logger "$MYNAME Reusing existing mount point $MPOINT"
       fi
   fi

   # Construct fstab entry...
   
   FS=vfat
   OPTIONS="users,uid=$MOUNTOWNER,gid=$MOUNTGROUP,sync,umask=007"

   PART=part1
   MOUNTCMD="$DEVPATH/$PART $MPOINT -t $FS -o $OPTIONS"
   TryMount "$MOUNTCMD"
   if [ "$MOUNTOK" = "0" ] ; then
      PART=disc
      MOUNTCMD="$DEVPATH/$PART $MPOINT -t $FS -o $OPTIONS"   
      TryMount "$MOUNTCMD"
   fi


   FSTABENTRY="$DEVPATH/$PART $MPOINT $FS noauto,$OPTIONS 0 0"

# ...and if not exists, add it at the end of fstab plus a comment (I use the remover path)...
# ...the comment serves as an identifier ...
# ...for allowing the remover script to locate the correct fstab entry

   cat /etc/fstab | grep "$FSTABENTRY" > /dev/null || echo "$FSTABENTRY # $REMSCRIPT" >> /etc/fstab

fi
   
}


function TryMount() {
# mount the device. If can't mount wait a second and retry.

  MOUNTOK=0
  logger "$MYNAME mounting $1"
  if ! mount $1 > /dev/null 2>&1 ; then
        logger "$MYNAME Cannot mount: retrying..."
        sleep 2
        mount $1 > /dev/null 2>&1 && MOUNTOK=1
  else
        logger "$MYNAME device mounted at $MPOINT"
        MOUNTOK=1
  fi
  test "$MOUNTOK" = "0" && logger "$MYNAME mount retry failed..."
}


function PrepareRemover() {

# Write the remover
# Inside the usbremover:
#  1.- remove old fstab.usbremover file
#  2.- umount device
#  3.- get a copy of the fstab WITHOUT (grep -v) the device entry.
#      The correct entry gets identified by the "comment"
#  4.- Remove old fstab.old file
#  5.- Make a backup of the fstab (fstab.old)
#  6.- Make fstab.usbremover the new fstab
#  7.- Remove the mount point
# In the function: make the remover script executable.

  echo "#!/bin/bash" > $REMSCRIPT
  echo "rm -f /etc/fstab.usbremover" >> $REMSCRIPT
  echo "/bin/umount $MPOINT" >> $REMSCRIPT
  echo "/bin/cat /etc/fstab | /bin/grep -v \"$REMSCRIPT\" > /etc/fstab.usbremover"  >> $REMSCRIPT
  echo "test -f /etc/fstab.old && rm /etc/fstab.old" >> $REMSCRIPT
  echo "mv /etc/fstab /etc/fstab.old " >> $REMSCRIPT
  echo "mv /etc/fstab.usbremover /etc/fstab " >> $REMSCRIPT
  echo "rmdir $MPOINT" >> $REMSCRIPT
  test "$MOUNTOK" = "1" && echo "#mounted: $MPOINT" >> $REMSCRIPT
  chmod +x "$REMSCRIPT"
  logger "$MYNAME remover $REMSCRIPT created. $MOUNTOK."
}

function TestKVer() {
  VER=$(uname -r)
  VER=${VER%.*}
  if [ "$VER" = "2.6" ] ; then
    IS26=1
  fi
}

MOUNTCMD="none"
MOUNTOK=0
IS26=0
TestKVer
TESTMODE=1
logger "$MYNAME IS26 status: $IS26"



# Usb-storage device inserted: look  for usb-storage dir entries in proc/scsi

for J in $(find /proc/scsi/ -name "usb-storage*") ; do

# For each dir entry check every file to get USB info:
# Example: when inserted the USB-device info can be located in /proc/scsi/usb-storage-0/3
#          it seems than that "3" file is the scsi host (scsi3 in this case)
# Look for every "host file"

for I in $(ls $J) ; do

  # Get info for the host
  # I use DEVNAME to store the Product name, used later to set the mount point name

  DEVNAME=$(cat $J/$I | grep Product:| awk -F:\  '{print $2}' )
  if [ -z "$DEVNAME" ] ; then
      DEVNAME="USB_Disk-$RANDOM"
  fi
 
  ISATTACHED=$(cat $J/$I | grep Attached:| awk -F:\  '{print $2}' )

  if [ $TESTMODE = 1 ] ; then
       logger "$MYNAME debug: Name: $DEVNAME"
       logger "$MYNAME debug: Attached.: $ISATTACHED"
       logger "$MYNAME debug: SCSI HOST: $SCSI$I"
       GetDev
       echo ""
  fi

  # If $ISATTACHED is "Yes" then maybe this is the usb device we are looking for
  # For 2.6 kernels the "Attached" field doesn't exist (on my system at least!)
  if [ "$ISATTACHED" = "Yes" -o $IS26 = 1 ] ; then
       MODELMATCH=0

  # Try to see if the model in the scsi info
  #    matches with the USB Name in the usb-storage info

       cat /proc/scsi/scsi | grep -A 3 "Host: scsi$I" | grep -i "Model: $DEVNAME" > /dev/null && MODELMATCH=1
       if [ $MODELMATCH = 0 ] ; then
          # this can happen. An usb device I own shows an empty model string
          logger "$MYNAME Warning: USB Name Not match with scsi info" 
       fi

       # Get the line that has the Channel, Id and Lun to locate the devfs path of the device
       USBSTORDEV=$(cat /proc/scsi/scsi | grep "Host: scsi$I")
       test "$TESTMODE" = "1" && logger "$MYNAME  debug: $USBSTORDEV"
       # Parse de info in the GetDev function. The host is known: "$I"
       GetDev
       MountDevice
       PrepareRemover
  fi
done
done


Currently Running in 4 gentoo desktops and 1 laptop.
Tested on recent 2.4 kernels (2.4.20-gentoo-r6) and 2.6 kernels (2.6-test11 and 2.6.0-mm1)

Hope this helps!

PS: Be carefull with copy and paste and the browser-wrapped long-lines on the script.


Last edited by lunatc on Fri Jan 30, 2004 12:06 am; edited 2 times in total
Back to top
View user's profile Send private message
GlennM
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 94
Location: Wisconsin, USA

PostPosted: Fri Nov 14, 2003 7:40 pm    Post subject: Reply with quote

I seem to be having problems similar to shakti's above...sometimes when I plug my Jumpdrive it it works, other times it doesn't. Last night, for example, I must have loaded & unloaded it 30 times with no problems, while today I can't get the damn thing to work (it worked the 3rd out of 10 tries so far). When it doesn't work, /dev/sda1 isn't appearing. I have everything configured as in the first post in this thread. Any suggestions?
Back to top
View user's profile Send private message
lunatc
Guru
Guru


Joined: 18 Apr 2002
Posts: 409
Location: Canary Islands. Spain

PostPosted: Sat Nov 15, 2003 9:21 am    Post subject: Reply with quote

When you insert the drive and it doesn't work... and then you try this:
Code:

kill -HUP `pidof devfsd`


then /dev/sda1 appear? :?:
Back to top
View user's profile Send private message
GlennM
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 94
Location: Wisconsin, USA

PostPosted: Sat Nov 15, 2003 7:36 pm    Post subject: Reply with quote

Well, a lot of fiddling later and I've got it isolated. I have an icon for my Jumpdrive on my KDE desktop (because icons are nice...), and if I accidentally click on it when the Jumpdrive isn't inserted, it tells me "No media is available" (or something) and then /dev/sda1 goes away. I can make it come back with "/etc/init.d/hotplug restart"; I havn't tried your idea. If I just use the mount/unmount on the KDE icon and don't try to mount it when it isn't there, everything is fine. A small glitch, to be sure, but easy to work around.

On a side note...the lowest rank is n00b. That's funny... :)
Back to top
View user's profile Send private message
azcoder
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2003
Posts: 143
Location: Scottsdale, Arizona

PostPosted: Sun Nov 16, 2003 5:35 am    Post subject: Reply with quote

Please Help!!!!
Thanks in advance...

I just got a 256mb SanDisk Cruzer and I can't get it to work. I think I have the correct USB and SCSI suppor tin the kernel, but after I insert the stick and load the proper modules, then the mount fails.

Here's the end of dmesg after a /etc/init.d/hotplug restart

Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Generic Model: STORAGE DEVICE Rev: 1.25
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
hub.c: new USB device 00:1d.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x46d/0xc00c) is not claimed by any active driver.
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
/dev/scsi/host0/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
usb.c: registered new driver hid
input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb2:2.0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
(I issued the mount right here)
hub.c: USB device not accepting new address (error=-71)
usb-storage: host_reset() requested but not implemented

Here is the mount command:
#mount -t vfat /dev/sda1 /mnt/usbstick/
mount: No medium found

Thanks in advance for any help....

:wink:
Back to top
View user's profile Send private message
GlennM
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 94
Location: Wisconsin, USA

PostPosted: Mon Nov 17, 2003 12:53 am    Post subject: Reply with quote

Huh...well, I fixed it a bit more :) azcoder, try refreshing devfs as done in the above script: kill -HUP `pidof devfsd`
Note that that is not a single quote, but the character that shares the key with the ~ next to the 1. That makes my /dev/sda1 reappear. Huh.
Back to top
View user's profile Send private message
agrippa_cash
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2003
Posts: 143
Location: Los Angeles

PostPosted: Fri Nov 21, 2003 4:23 am    Post subject: Holy guano! Reply with quote

Well I almost have it working. Every time I insert and remove the thing a new /dev/scsi/host is created. However, the /dev/sd? link works and as I can manually mount from my fstab entry (which is linked to /dev/sda). I have my cdroms set up as scsi,

Could that be interfereing?
Could that fact that I have an unmounted fstab entry pointing to the same location keep the script fromautomatically mounting my usb drive?
And why do I accumulate all those scsi hosts (I currently have 9)?

Post here later.

Same clueless user.

Same great forums.
Back to top
View user's profile Send private message
mengle
n00b
n00b


Joined: 23 Nov 2003
Posts: 64

PostPosted: Sun Nov 30, 2003 9:42 pm    Post subject: Reply with quote

I have an Archos Recorder 15 mp3 player that just doesn't want to work. :x I have all the correct pieces in my kernel (although they're built in; I didn't add them as modules).

It seems to have worked when I ran dmesg. Here a small piece of the output:
Code:
hub.c: new USB device 00:1f.2-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x5ab/0x31) is not claimed by any active driver.
.
.
usb.c: USB disconnect on device 00:1f.2-2 address 2
hub.c: new USB device 00:1f.2-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x5ab/0x31) is not claimed by any active driver.
usb.c: USB disconnect on device 00:1f.2-2 address 3
hub.c: new USB device 00:1f.2-2, assigned address 4
usb.c: USB device 4 (vend/prod 0x5ab/0x31) is not claimed by any active driver.


So I think that it works (maybe). Here's what is in my fstab:
/dev/sda1 /mnt/archos auto auto,rw 0 0

But it won't work or mount because there's no /dev/sda1 or anything like it in /dev/ (no sda2, sdb1, etc.) Apparently this is how other people have it setup.

Does anyone have any ideas? I would really like to be able to listen to my music. Thanks.
Back to top
View user's profile Send private message
TobiWan
Apprentice
Apprentice


Joined: 07 Jul 2003
Posts: 275
Location: Brussels, Old Europe

PostPosted: Tue Dec 02, 2003 5:53 pm    Post subject: Ok, here we go again ;-) EDITED Reply with quote

pregopresto wrote:
hi

i am not at home, currently, but as soon as i have time and my gentoo box again, i will have a look at it

prego


Hi Jan,

I recompiled my kernel, using the gentoo-sources from the 2.4.22 release. Everything should be compiled as modules.

This is my config file. Since I still don't know what parts are the important ones, I'll post everything :oops:

Code:

#
# Automatically generated by make menuconfig: don't edit
#
CONFIG_X86=y
# CONFIG_SBUS is not set
CONFIG_UID16=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Processor type and features
#
CONFIG_LOLAT=y
# CONFIG_LOLAT_SYSCTL is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
CONFIG_MK7=y
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_HAS_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_USE_3DNOW=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_F00F_WORKS_OK=y
CONFIG_X86_MCE=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
CONFIG_X86_CPUID=m
# CONFIG_EDD is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM=y
CONFIG_1GB=y
# CONFIG_2GB is not set
# CONFIG_3GB is not set
# CONFIG_05GB is not set
CONFIG_HIGHIO=y
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_SMP is not set
CONFIG_PREEMPT=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
# CONFIG_X86_TSC_DISABLE is not set
CONFIG_X86_TSC=y
CONFIG_HAVE_DEC_LOCK=y

#
# General setup
#
CONFIG_HZ=1000
CONFIG_NET=y
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_ISA=y
CONFIG_PCI_NAMES=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
CONFIG_HOTPLUG=y

#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not set

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set
# CONFIG_HOTPLUG_PCI_COMPAQ is not set
# CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
# CONFIG_HOTPLUG_PCI_IBM is not set
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_PM=y
# CONFIG_APM is not set

#
# ACPI Support
#
# CONFIG_ACPI is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_CML1=m
CONFIG_PARPORT_SERIAL=m
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_OTHER is not set
# CONFIG_PARPORT_1284 is not set

#
# Plug and Play configuration
#
CONFIG_PNP=y
CONFIG_ISAPNP=y

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_XD is not set
CONFIG_PARIDE=m
CONFIG_PARIDE_PARPORT=m
# CONFIG_PARIDE_PD is not set
CONFIG_PARIDE_PCD=m
# CONFIG_PARIDE_PF is not set
# CONFIG_PARIDE_PT is not set
# CONFIG_PARIDE_PG is not set
# CONFIG_PARIDE_ATEN is not set
# CONFIG_PARIDE_BPCK is not set
# CONFIG_PARIDE_BPCK6 is not set
# CONFIG_PARIDE_COMM is not set
# CONFIG_PARIDE_DSTR is not set
# CONFIG_PARIDE_FIT2 is not set
# CONFIG_PARIDE_FIT3 is not set
# CONFIG_PARIDE_EPAT is not set
# CONFIG_PARIDE_EPIA is not set
CONFIG_PARIDE_FRIQ=m
CONFIG_PARIDE_FRPW=m
# CONFIG_PARIDE_KBIC is not set
# CONFIG_PARIDE_KTTI is not set
# CONFIG_PARIDE_ON20 is not set
# CONFIG_PARIDE_ON26 is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_CISS_SCSI_TAPE is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_BLK_STATS is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_BLK_DEV_LVM is not set
# CONFIG_BLK_DEV_DM is not set
# CONFIG_BLK_DEV_DM_MIRROR is not set

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK_DEV=m
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
# CONFIG_NET_IPGRE_BROADCAST is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set

#
#   IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_AMANDA=m
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_STEALTH=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_UNCLEAN=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_MIRROR=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_NAT_AMANDA=m
CONFIG_IP_NF_NAT_LOCAL=y
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set

#
#   IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set

#
# Appletalk devices
#
# CONFIG_DEV_APPLETALK is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_LLC is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set
# CONFIG_PHONE_IXJ is not set
# CONFIG_PHONE_IXJ_PCMCIA is not set

#
# ATA/IDE/MFM/RLL support
#
CONFIG_IDE=y

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
# CONFIG_BLK_DEV_IDECS is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEFLOPPY=m
CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_ISAPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_BLK_DEV_GENERIC is not set
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_BLK_DEV_ADMA100 is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_WDC_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_AMD74XX_OVERRIDE is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_HPT34X_AUTODMA is not set
# CONFIG_BLK_DEV_HPT366 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
CONFIG_BLK_DEV_PDC202XX_OLD=m
# CONFIG_PDC202XX_BURST is not set
CONFIG_BLK_DEV_PDC202XX_NEW=m
# CONFIG_PDC202XX_FORCE is not set
CONFIG_BLK_DEV_RZ1000=y
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
CONFIG_BLK_DEV_VIA82CXXX=y
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_PDC202XX=y
CONFIG_BLK_DEV_IDE_MODES=y
# CONFIG_BLK_DEV_ATARAID is not set
# CONFIG_BLK_DEV_ATARAID_PDC is not set
# CONFIG_BLK_DEV_ATARAID_HPT is not set
# CONFIG_BLK_DEV_ATARAID_SII is not set

#
# SCSI support
#
CONFIG_SCSI=m
CONFIG_BLK_DEV_SD=m
CONFIG_SD_EXTRA_DEVS=40
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_SR_EXTRA_DEVS=4
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set

#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_ATA_PIIX is not set
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_VIA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_NCR53C8XX is not set
CONFIG_SCSI_SYM53C8XX=m
CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=4
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32
CONFIG_SCSI_NCR53C8XX_SYNC=20
# CONFIG_SCSI_NCR53C8XX_PROFILE is not set
# CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
# CONFIG_SCSI_NCR53C8XX_PQS_PDS is not set
# CONFIG_SCSI_NCR53C8XX_SYMBIOS_COMPAT is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_SIM710 is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
# CONFIG_FUSION_BOOT is not set
# CONFIG_FUSION_ISENSE is not set
# CONFIG_FUSION_CTL is not set
# CONFIG_FUSION_LAN is not set

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set
# CONFIG_I2O_PCI is not set
# CONFIG_I2O_BLOCK is not set
# CONFIG_I2O_LAN is not set
# CONFIG_I2O_SCSI is not set
# CONFIG_I2O_PROC is not set

#
# Network device support
#
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
CONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set
# CONFIG_NET_SB1000 is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_SUNLANCE is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_CS89x0 is not set
# CONFIG_TULIP is not set
# CONFIG_DE4X5 is not set
# CONFIG_DGRS is not set
# CONFIG_DM9102 is not set
# CONFIG_EEPRO100 is not set
# CONFIG_EEPRO100_PIO is not set
# CONFIG_E100 is not set
# CONFIG_LNE390 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_NE3210 is not set
# CONFIG_ES3210 is not set
CONFIG_8139CP=m
CONFIG_8139TOO=m
# CONFIG_8139TOO_PIO is not set
CONFIG_8139TOO_TUNE_TWISTER=y
# CONFIG_8139TOO_8129 is not set
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_SUNDANCE_MMIO is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_VIA_RHINE_MMIO is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_MYRI_SBUS is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_TIGON3 is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
CONFIG_IRDA=m
# CONFIG_IRLAN is not set
# CONFIG_IRNET is not set
CONFIG_IRCOMM=m
# CONFIG_IRDA_ULTRA is not set
CONFIG_IRDA_CACHE_LAST_LSAP=y
CONFIG_IRDA_FAST_RR=y
# CONFIG_IRDA_DEBUG is not set

#
# Infrared-port device drivers
#
# CONFIG_IRTTY_SIR is not set
# CONFIG_IRPORT_SIR is not set
CONFIG_DONGLE=y
# CONFIG_ESI_DONGLE is not set
# CONFIG_ACTISYS_DONGLE is not set
# CONFIG_TEKRAM_DONGLE is not set
# CONFIG_GIRBIL_DONGLE is not set
# CONFIG_LITELINK_DONGLE is not set
# CONFIG_MCP2120_DONGLE is not set
CONFIG_OLD_BELKIN_DONGLE=m
# CONFIG_ACT200L_DONGLE is not set
# CONFIG_MA600_DONGLE is not set
CONFIG_USB_IRDA=m
# CONFIG_NSC_FIR is not set
# CONFIG_WINBOND_FIR is not set
# CONFIG_TOSHIBA_OLD is not set
# CONFIG_TOSHIBA_FIR is not set
# CONFIG_SMC_IRCC_FIR is not set
# CONFIG_ALI_FIR is not set
# CONFIG_VLSI_FIR is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Input core support
#
CONFIG_INPUT=m
CONFIG_INPUT_KEYBDEV=m
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_EVDEV=m

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
# CONFIG_SERIAL_CONSOLE is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
CONFIG_PPDEV=m
# CONFIG_TIPAR is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# Mice
#
CONFIG_BUSMOUSE=m
# CONFIG_ATIXL_BUSMOUSE is not set
CONFIG_LOGIBUSMOUSE=m
CONFIG_MS_BUSMOUSE=m
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_PC110_PAD is not set
# CONFIG_MK712_MOUSE is not set

#
# Joysticks
#
CONFIG_INPUT_GAMEPORT=m
# CONFIG_INPUT_NS558 is not set
# CONFIG_INPUT_LIGHTNING is not set
# CONFIG_INPUT_PCIGAME is not set
# CONFIG_INPUT_CS461X is not set
CONFIG_INPUT_EMU10K1=m
# CONFIG_INPUT_SERIO is not set
# CONFIG_INPUT_SERPORT is not set
CONFIG_INPUT_ANALOG=m
# CONFIG_INPUT_A3D is not set
CONFIG_INPUT_ADI=m
# CONFIG_INPUT_COBRA is not set
# CONFIG_INPUT_GF2K is not set
CONFIG_INPUT_GRIP=m
# CONFIG_INPUT_INTERACT is not set
# CONFIG_INPUT_TMDC is not set
# CONFIG_INPUT_SIDEWINDER is not set
# CONFIG_INPUT_IFORCE_USB is not set
# CONFIG_INPUT_IFORCE_232 is not set
# CONFIG_INPUT_WARRIOR is not set
# CONFIG_INPUT_MAGELLAN is not set
# CONFIG_INPUT_SPACEORB is not set
# CONFIG_INPUT_SPACEBALL is not set
# CONFIG_INPUT_STINGER is not set
# CONFIG_INPUT_DB9 is not set
# CONFIG_INPUT_GAMECON is not set
# CONFIG_INPUT_TURBOGRAFX is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_IPMI_PANIC_EVENT is not set
# CONFIG_IPMI_DEVICE_INTERFACE is not set
# CONFIG_IPMI_KCS is not set
# CONFIG_IPMI_WATCHDOG is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_SCx200_GPIO is not set
# CONFIG_AMD_RNG is not set
# CONFIG_INTEL_RNG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_AMD_PM768 is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_AGP_I810=y
CONFIG_AGP_VIA=y
CONFIG_AGP_AMD=y
# CONFIG_AGP_AMD_8151 is not set
CONFIG_AGP_SIS=y
CONFIG_AGP_ALI=y
# CONFIG_AGP_SWORKS is not set
CONFIG_AGP_NVIDIA=y
CONFIG_DRM=y
# CONFIG_DRM_OLD is not set
CONFIG_DRM_NEW=y
CONFIG_DRM_TDFX=y
# CONFIG_DRM_GAMMA is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=y
CONFIG_DRM_I810=y
CONFIG_DRM_I810_XFREE_41=y
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_S3 is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_MWAVE is not set

#
# Multimedia devices
#
CONFIG_VIDEO_DEV=m

#
# Video For Linux
#
CONFIG_VIDEO_PROC_FS=y
# CONFIG_I2C_PARPORT is not set
CONFIG_VIDEO_BT848=m
# CONFIG_VIDEO_PMS is not set
CONFIG_VIDEO_BWQCAM=m
CONFIG_VIDEO_CQCAM=m
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_ZORAN_BUZ is not set
# CONFIG_VIDEO_ZORAN_DC10 is not set
# CONFIG_VIDEO_ZORAN_LML33 is not set
# CONFIG_VIDEO_ZR36120 is not set
# CONFIG_VIDEO_MEYE is not set

#
# Radio Adapters
#
# CONFIG_RADIO_CADET is not set
# CONFIG_RADIO_RTRACK is not set
# CONFIG_RADIO_RTRACK2 is not set
# CONFIG_RADIO_AZTECH is not set
# CONFIG_RADIO_GEMTEK is not set
# CONFIG_RADIO_GEMTEK_PCI is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_MAESTRO is not set
# CONFIG_RADIO_MIROPCM20 is not set
# CONFIG_RADIO_MIROPCM20_RDS is not set
# CONFIG_RADIO_SF16FMI is not set
# CONFIG_RADIO_SF16FMR2 is not set
# CONFIG_RADIO_TERRATEC is not set
# CONFIG_RADIO_TRUST is not set
# CONFIG_RADIO_TYPHOON is not set
# CONFIG_RADIO_ZOLTRIX is not set

#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_QFMT_V2 is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_SUPERMOUNT=m
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BEFS_DEBUG is not set
# CONFIG_BFS_FS is not set
CONFIG_EXT3_FS=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_UMSDOS_FS=y
CONFIG_VFAT_FS=y
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
CONFIG_TMPFS=y
CONFIG_RAMFS=y
# CONFIG_IBU_FS is not set
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_JFS_FS=y
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
CONFIG_NTFS_FS=y

# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
CONFIG_UDF_FS=y
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set
# CONFIG_XFS_FS is not set
# CONFIG_XFS_RT is not set
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_DEBUG is not set
# CONFIG_PAGEBUF_DEBUG is not set

#
# Network File Systems
#
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_DIRECTIO is not set
# CONFIG_ROOT_NFS is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_TCP is not set
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
# CONFIG_CIFS is not set
CONFIG_SMB_FS=y
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp437"
# CONFIG_NCP_FS is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
# CONFIG_NCPFS_STRONG is not set
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not set
# CONFIG_NCPFS_SMALLDOS is not set
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
CONFIG_ZISOFS_FS=y

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_SMB_NLS=y
CONFIG_NLS=y

#
# Native Language Support
#
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set

#
# Console drivers
#
CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y
# CONFIG_MDA_CONSOLE is not set

#
# Frame-buffer support
#
# CONFIG_FB is not set

#
# Sound
#
CONFIG_SOUND=y
# CONFIG_SOUND_ALI5455 is not set
CONFIG_SOUND_BT878=m
# CONFIG_SOUND_CMPCI is not set
CONFIG_SOUND_EMU10K1=m
CONFIG_MIDI_EMU10K1=y
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_CS4281 is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_MAESTRO3 is not set
# CONFIG_SOUND_FORTE is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_RME96XX is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_VIA82CXXX is not set
# CONFIG_MIDI_VIA82CXXX is not set
# CONFIG_SOUND_OSS is not set
# CONFIG_SOUND_TVMIXER is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI_ALT=y
# CONFIG_USB_OHCI is not set
CONFIG_USB_AUDIO=m
# CONFIG_USB_EMI26 is not set
CONFIG_USB_BLUETOOTH=m
CONFIG_USB_MIDI=m
CONFIG_USB_STORAGE=m
CONFIG_USB_STORAGE_DEBUG=y
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
# CONFIG_USB_STORAGE_JUMPSHOT is not set
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_KBD=m
CONFIG_USB_MOUSE=m
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
CONFIG_USB_SCANNER=m
# CONFIG_USB_MICROTEK is not set
CONFIG_USB_HPUSBSCSI=m
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_PWC is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_STV680 is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_DSBR is not set
# CONFIG_USB_DABUSB is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_CATC is not set
# CONFIG_USB_AX8817X is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set

#
# Bluetooth support
#
# CONFIG_BLUEZ is not set

#
# Kernel hacking
#
# CONFIG_DEBUG_KERNEL is not set
CONFIG_LOG_BUF_SHIFT=0

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=y
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=y
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_DES is not set
CONFIG_CRYPTO_BLOWFISH=y
CONFIG_CRYPTO_TWOFISH=y
# CONFIG_CRYPTO_SERPENT is not set
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_TEST is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_ZLIB_INFLATE=y
# CONFIG_ZLIB_DEFLATE is not set
# CONFIG_FW_LOADER is not set

#
# Grsecurity
#
# CONFIG_GRKERNSEC is not set


EDIT:

Because this post still isn't long enought...

My lsmod output:

Code:

Module                  Size  Used by    Tainted: P
snd-pcm-oss            38468   0  (autoclean)
snd-mixer-oss          13232   0  (autoclean) [snd-pcm-oss]
parport_pc             16936   1  (autoclean)
lp                      5952   0  (autoclean)
parport                14880   1  (autoclean) [parport_pc lp]
snd-emu10k1            74132   0
snd-pcm                65216   0  [snd-pcm-oss snd-emu10k1]
snd-timer              15748   0  [snd-pcm]
snd-util-mem            1376   0  [snd-emu10k1]
snd-page-alloc          6164   0  [snd-emu10k1 snd-pcm]
snd-hwdep               4800   0  [snd-emu10k1]
snd-rawmidi            14368   0  [snd-emu10k1]
snd-seq-device          4112   0  [snd-emu10k1 snd-rawmidi]
snd-ac97-codec         43000   0  [snd-emu10k1]
snd                    35204   0  [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-util-mem snd-hwdep snd-rawmidi snd-seq-device snd-ac97-codec]
nvidia               1631200  11
printer                 7456   0  (unused)
analog                  7712   0  (unused)
input                   3648   0  [analog]
emu10k1-gp              1320   0  (unused)
gameport                1692   0  [analog emu10k1-gp]
ide-scsi               10064   0
sr_mod                 13304   0  (unused)
sg                     28044   0  (unused)
scsi_mod               96340   3  [ide-scsi sr_mod sg]
8139too                16360   1
mii                     2608   0  [8139too]
crc32                   2896   0  [8139too]
scanner                10456   0  (unused)


What are the next steps to test whether SCSI and USB are interacting the way they should?

thanks a lot for your efforts everybody, especially Jan, who wrote this Howto,

Tobias
_________________
Killing for peace is like fucking for virginity.
Back to top
View user's profile Send private message
benca1
Tux's lil' helper
Tux's lil' helper


Joined: 28 Mar 2003
Posts: 76

PostPosted: Fri Dec 05, 2003 5:46 am    Post subject: Reply with quote

Oh God! I'm ready to eat a bullet. So many threads on the mysterious /dev/sda1...

If you live in the Bay Area and you get my Intel mp3 player mounted, I'll buy you lunch.

Here's the error output:
Code:

Dec  4 21:26:35 woob hub.c: new USB device 00:02.3-2, assigned address 2
Dec  4 21:26:36 woob usb.c: USB device 2 (vend/prod 0x8086/0x100) is not claimed                               
 by any active driver.
Dec  4 21:27:00 woob usb.c: USB disconnect on device 00:02.3-2 address 2


Here's lsmod:

Code:

Module                  Size  Used by    Tainted: P 
usb-ohci               17352   0  (unused)
usbcore                55488   1  [usb-ohci]
snd-mixer-oss          10992   0  (autoclean)
serial                 49092   0  (autoclean)
isa-pnp                28100   0  (autoclean) [serial]
sis900                 12524   1
snd-emu10k1            57684   0
snd-pcm                53344   0  [snd-emu10k1]
snd-timer              12644   0  [snd-pcm]
snd-util-mem            1184   0  [snd-emu10k1]
snd-rawmidi            12448   0  [snd-emu10k1]
snd-page-alloc          5652   0  [snd-emu10k1 snd-pcm]
snd-ac97-codec         35992   0  [snd-emu10k1]
snd-seq-device          3776   0  [snd-emu10k1 snd-rawmidi]
snd-hwdep               4672   0  [snd-emu10k1]
snd                    27556   0  [snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-util-mem snd-rawmidi snd-ac97-codec snd-seq-device snd-hwdep]
soundcore               3364   3  [snd]
sd_mod                 10604   0  (unused)
vfat                    9324   0
fat                    29816   0  [vfat]
scsi_mod               51380   1  [sd_mod]
nvidia               1626688  11


And what else would you need?

I can't take it anymore. This has been a project, off and on, for several months and I was determined to resolve this tonight and it's been 6 hours! Ahhhhgggggggg.

I tried custom hotplug scripts. Re-compiling my kernel more times then I care to admit. modprobe this and that. I can't get this INtel mp3 player to mount.

However, the Canon G3 seems to be no problem...

Thanks much.[/code]
Back to top
View user's profile Send private message
jago25_98
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 180

PostPosted: Fri Dec 12, 2003 4:04 pm    Post subject: if /dev/sda1 isn't there? Reply with quote

/dev/sda1 isn't there for me

yet usb device is listed in /proc/bus/usb/devices

using a 2.6test10 kernel.

will post kernel config etc when I can but what else can I check first?
Back to top
View user's profile Send private message
discostu
Guru
Guru


Joined: 01 Nov 2002
Posts: 333

PostPosted: Thu Dec 18, 2003 10:47 pm    Post subject: Reply with quote

I have a brand new usb stick out of the box (MicroAdvantage QuickiDrive) and mounting it doesn't work. usbview doesn't show anything when i put it in and neither does dmesg. I have no problem mounting my compact flash card reader thats usb 1.1 I believe. The usb stick is 2.0 and I have both ehci and ohci modules loaded. Any idea why? Maybe it needs to be formatted or something I don't know. Thanks :)
Code:
Module                  Size  Used by
nls_iso8859_1           4224  0
nls_cp437               5888  0
sd_mod                 17312  0
vfat                   16256  0
fat                    47776  1 vfat
parport_pc             27528  1
lp                     12004  0
parport                44096  2 parport_pc,lp
ehci_hcd               24960  0
ohci_hcd               18816  0
md5                     4224  1
ipv6                  261984  7
sg                     37644  0
ext3                  123304  2
jbd                    63000  1 ext3
usblp                  13312  0
snd_intel8x0           32324  4
snd_ac97_codec         55300  1 snd_intel8x0
snd_mpu401_uart         8064  1 snd_intel8x0
snd_rawmidi            25728  1 snd_mpu401_uart
snd_seq_device          8324  1 snd_rawmidi
fglrx                 207556  7
nvidia_agp              7580  1
agpgart                32840  2 nvidia_agp
usb_storage            67840  0
usbcore               111700  6 ehci_hcd,ohci_hcd,usblp,usb_storage
st                     38804  0
scsi_mod              120484  4 sd_mod,sg,usb_storage,st

_________________
"Disco Stu doesn't advertise."
Back to top
View user's profile Send private message
jago25_98
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 180

PostPosted: Fri Dec 19, 2003 10:12 am    Post subject: a 2.6 kernel thing? Reply with quote

Is this effecting 2.6 kernels only?
Back to top
View user's profile Send private message
DooBeDooBeDo
Apprentice
Apprentice


Joined: 21 Aug 2002
Posts: 220
Location: UK

PostPosted: Fri Dec 19, 2003 3:58 pm    Post subject: Reply with quote

GlennM wrote:
Well, a lot of fiddling later and I've got it isolated. I have an icon for my Jumpdrive on my KDE desktop (because icons are nice...), and if I accidentally click on it when the Jumpdrive isn't inserted, it tells me "No media is available" (or something) and then /dev/sda1 goes away. I can make it come back with "/etc/init.d/hotplug restart"; I havn't tried your idea. If I just use the mount/unmount on the KDE icon and don't try to mount it when it isn't there, everything is fine. A small glitch, to be sure, but easy to work around.

On a side note...the lowest rank is n00b. That's funny... :)


I create a desktop icon when my digital camera mounts here are the pertient bits of my script


Code:

        if [ -f /var/run/console.lock ]
        then
                CONSOLEOWNER=`cat /var/run/console.lock`
        elif [ -f /var/lock/console.lock ]
        then
                CONSOLEOWNER=`cat /var/lock/console.lock`
        else
                CONSOLEOWNER=
        fi
       
       # add  a desktop entry
        echo "[Desktop Entry]" >/home/$CONSOLEOWNER/Desktop/camera
        echo "Comment=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Comment[en_US]=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Encoding=UTF-8" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Exec=/home/$CONSOLEOWNER/bin/get_cam_pics" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "GenericName=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "GenericName[en_US]=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Icon=camera" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "MimeType=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Name=camera" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Name[en_US]=camera" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Path=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "ServiceTypes=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "SwallowExec=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "SwallowTitle=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Terminal=false" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "TerminalOptions=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Type=Application" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "X-KDE-SubstituteUID=false" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "X-KDE-Username=" >>/home/$CONSOLEOWNER/Desktop/camera
        chown $CONSOLEOWNER.users /home/$CONSOLEOWNER/Desktop/camera

        echo "#!/bin/bash" > $REMOVER
        echo "umount -l /mnt/usb" >> $REMOVER
        echo "modprobe -r usb_storage" >> $REMOVER
        # remove the desktop entry
        echo "rm -f /home/$CONSOLEOWNER/Desktop/camera" >> $REMOVER
        chmod a+x $REMOVER
Back to top
View user's profile Send private message
incabolocabus
Apprentice
Apprentice


Joined: 24 Nov 2003
Posts: 232
Location: Fort Collins, CO

PostPosted: Sat Dec 20, 2003 6:49 pm    Post subject: A pointer to make life easier Reply with quote

Thats a pretty slick idea, I like it.

Just a note to make things easier, do something like this

cat > file.txt << EOF
this is a multiline cat
so you don't have to
type so much
EOF
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Sat Dec 20, 2003 11:25 pm    Post subject: Reply with quote

Same problem here, folks... /dev/sda1 appears on first connect, disappears (leaving /dev/sda), and doesn't come back until reboot. Kernel 2.4.22, using ide-scsi for two CD-ROM drives. The USB device is an HP Photosmart 850.
I haven't checked this before, but this seems to eat my /proc/bus/usb/devices as well... it emptied out my /proc/bus/usb folder!

Edit: While /dev/sda1 disappears, its target (/dev/scsi/host1/bus0/target0/lun0/part1) remains, and remains mountable. Update fstab, bada-bing bada-boom! Seems like an obvious devfs issue.
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
horgh
n00b
n00b


Joined: 02 Feb 2003
Posts: 29
Location: HH, Germany

PostPosted: Wed Dec 24, 2003 12:18 am    Post subject: Reply with quote

hey folks

I also don't have this f*** /dev/sda1 Device. Only a /dev/sda which is mountable with -t usbsf but then there's only crap in it(001, 002 ...).
I tried for weeks now but no result. :(
The USB Device is a Minolta Dimage E203 which shound be easily mounted as usb mass storage device.
The Kernel is a 2.4.20-gentoo-r8. I have all sd_mod, usbcore, usb-storage, hid, usb-uhci, vfat and stuff loaded
Code:

hub.c: new USB device 00:11.2-1.2, assigned address 4
usb.c: USB device 4 (vend/prod 0x4c8/0x723) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
usb-uhci.c: interrupt, status 2, frame# 1418
usb_control/bulk_msg: timeout
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: MINOLTA   Model: DiMAGE E203       Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 60705 512-byte hdwr sectors (31 MB)
sda: Write Protect is off
 /dev/scsi/host0/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
USB Mass Storage support registered.
SCSI error: host 0 id 0 lun 0 return code = 8000002
        Sense class 7, sense error 0, extended sense 3
VFS: Disk change detected on device 08:00
SCSI device sda: 60705 512-byte hdwr sectors (31 MB)
sda: Write Protect is off
 /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
 I/O error: dev 08:00, sector 0
.
.
.
.


TobiWan, I'm currently at the same point as you. Please keep up your research ;) I'm impatiently tracking this thread 'cause I FINALLY WANT TO STOP BOOTING WINDOWS JUST TO GET MY PICS OUT OF THE CAM *cry* :cry:
_________________
#emerge Beck's Beer! please!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 4 of 7

 
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