LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   problems after installation of newest kernel (https://www.linuxquestions.org/questions/ubuntu-63/problems-after-installation-of-newest-kernel-428602/)

openfun 03-26-2006 05:23 AM

problems after installation of newest kernel
 
I compiled and installed the newest kernel source 2.6.16 on ubuntu 5.10 of my T43p laptop. But there are two problems afterwards. I can't automatically mount usb disks and always get the error message:
Error: device /dev/sdb1 is already mounted to /media/REMOVABLE1
Error: could not execute pmount

Another problem is I can't mount my cdrom as well. The error message is:

mount: special device /dev/scd0 does not exist

But all these things were fine before I installed the new kernel.
Anybody here can help me with this problem? Thank you very much in advance.

openfun 03-26-2006 05:24 AM

Here is my lspci result:

0000:00:00.0 Host bridge: Intel Corp. Mobile Memory Controller Hub (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. Mobile Memory Controller Hub PCI Express Port (rev 03)
0000:00:1c.0 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
0000:00:1c.2 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03)
0000:00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
0000:00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
0000:00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3)
0000:00:1e.2 Multimedia audio controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
0000:00:1e.3 Modem: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
0000:00:1f.0 ISA bridge: Intel Corp. 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
0000:00:1f.2 IDE interface: Intel Corp. 82801FBM (ICH6M) SATA Controller (rev 03)
0000:00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 3154 (rev 80)
0000:02:00.0 Ethernet controller: Broadcom Corporation: Unknown device 167d (rev 11)
0000:04:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)
0000:04:02.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05)

openfun 03-26-2006 05:26 AM

And my relevant lsmod result:

sr_mod 16164 0
cdrom 37040 1 sr_mod
sd_mod 18448 11
ahci 13316 0
sg 34076 0
ata_piix 10884 7
libata 60048 2 ahci,ata_piix
scsi_mod 132684 6 usb_storage,sr_mod,sd_mod,ahci,sg,libata

kevkim55 03-26-2006 05:48 AM

Quote:

Error: device /dev/sdb1 is already mounted to /media/REMOVABLE1
Did you check if /dev/sdb1 is really mounted on /media/REMOVABLE1 ? As you compiled a custom kernel 2.6.16, kernel automounter and subfs might have automatically mounted the filesysems on /media/<mnt-point>. What is the mount point you specified in /etc/fstab ?

Quote:

I can't automatically mount usb disks and always get the error message
Are you trying to say that YOU are trying to mount the device yourslef by running "mount /<mnt-directory>/<mnt-point>" or something similar ?

openfun 03-26-2006 06:01 AM

Here is my /etc/fstab file content:

proc /proc proc defaults 0 0
/dev/sda8 / ext3 defaults,errors=remount-ro 0 1
/dev/sda10 /home ext3 defaults 0 2
/dev/sda1 /media/sda1 ntfs nls=utf8,umask=0222 0 0
/dev/sda5 /media/sda5 ntfs nls=utf8,umask=0222 0 0
/dev/sda6 /media/sda6 ntfs nls=utf8,umask=0222 0 0
/dev/sda9 /usr ext3 defaults 0 2
/dev/sda7 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
#/dev/sdb1 /media/REMOVABLE1 vfat defaults 0 0
#/dev/sdb2 /media/REMOVABLE2 ntfs nls=utf8,umask=0222 0 0

I commented the last two lines because the usb disks automatically are mounted and appear on the desktop using default 2.6.12.9 kernel on ubuntu.

I am not sure that /dev/sdb1 is really mounted, how to check that? I am not trying to mount the device myself manually by the command. Hope this information is useful.

Thanks! :-)


All times are GMT -5. The time now is 09:18 PM.