You are not logged in.
In
/var/log/errors.log
I get this output while booting:
May 26 00:28:30 localhost kernel: [ 6.943801] sd 6:0:0:0: [sdb] No Caching mode page present
May 26 00:28:30 localhost kernel: [ 6.943802] sd 6:0:0:0: [sdb] Assuming drive cache: write through
May 26 00:28:30 localhost kernel: [ 6.945795] sd 6:0:0:0: [sdb] No Caching mode page present
May 26 00:28:30 localhost kernel: [ 6.945797] sd 6:0:0:0: [sdb] Assuming drive cache: write through
May 26 00:28:30 localhost kernel: [ 6.950164] sd 6:0:0:0: [sdb] No Caching mode page present
May 26 00:28:30 localhost kernel: [ 6.950166] sd 6:0:0:0: [sdb] Assuming drive cache: write through
sdb is an external USB 2.0 2TB harddrive formatted as NTFS. My /etc/fstab line for it is:
/dev/sdb1 /media/Win_USB ntfs-3g uid=1000,gid=users,fmask=113,dmask=0022 0 0
My
/etc/udev/rules.d/
directory is empty.
The drive works correctly both under Arch and under Windows 7 in this machine's dual-boot. Googling so far has shown that the above errors are nothing out of the ordinary.
I would like to suppress just those error messages on boot and also do not write them to errors.log.
I do not even have a clue for what I should be searching for to do that. Perhaps someone can helpfully point me to the correct page in the Wiki?
Edit, and "fdisk -l" returns:
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6bf2b3a4
Device Boot Start End Blocks Id System
/dev/sdb1 63 3907024064 1953512001 7 HPFS/NTFS/exFAT
For sdb.
Last edited by headkase (2012-05-30 17:54:29)
Offline
D'oh. It seems like you always find the solution just after you make a post.
From Here led to Here I set "loglevel=3" in my kernel boot line.
From /boot/grub/menu.lst, my new kernel line looks like this:
kernel /vmlinuz-linux root=/dev/sda4 ro loglevel=3
At loglevel=4 the messages reappear.
Now those annoying messages are not shown.
Last edited by headkase (2012-05-30 19:02:55)
Offline
Hi,
I have the same problem.
However I am not certain if we have to suppress the warning or figure out what's causing the problem and sort it out.
Offline
You should always find the source of the problem and correct the issue. I suppressed the errors because while googling I found that removable media often produces those errors when in actuality there is nothing wrong. If the errors were for a different reason then the correct thing to do would be to find the cause and correct it.
Offline
Thanks for the quick reply.
Could you provide a link to your source so that we can verify your suggestion?
Offline
konos5,
What are your errors? If they are different than what I posted in this thread then you'd be better off starting your own thread. If they are the same then if you want confirmation go to the almighty Google.
Offline
I have this problem too but loglevel=4 does not hide them for me. Also after you're logged in and you plug the usb flashdisk in the error messages are spit out on my VT. I would really like to suppress these since I can not find the cause for them and the disk works fine.
Offline
I have this problem too but loglevel=4 does not hide them for me.
You misread.
See above; you need loglevel=3.
Life's not fair, but the root password helps.
- The BOFH
Offline